Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adding spicedb setup with docker and with kind #1

Merged
merged 1 commit into from
Feb 8, 2024
Merged

feat: adding spicedb setup with docker and with kind #1

merged 1 commit into from
Feb 8, 2024

Conversation

akoserwal
Copy link
Contributor

Add setup scripts for running spicedb locally with docker/docker-compose and setup for deploying to kind kubernetes cluster

@Rajagopalan-Ranganathan
Copy link
Contributor

LGTM

@Rajagopalan-Ranganathan Rajagopalan-Ranganathan merged commit b88661a into project-kessel:main Feb 8, 2024
4 checks passed
Copy link
Contributor

@merlante merlante left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have to be honest, I don't love the thousands of lines of kind config, but I will defer to others as to whether we want this.

spicedb/docker-compose.yaml Show resolved Hide resolved
restart: "always"
ports:
- "8000:8000"
- "9000:9000"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, the liveness and readiness probes are expected on port 8000 in app-interface land, so at least one of these ports will have to change (pretty soon).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will planing to update post verify in the clowder environment

- "9090:9090"
- "50051:50051"
environment:
- "SPICEDB_GRPC_PRESHARED_KEY=${SPICEDB_GRPC_PRESHARED_KEY}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to provide a bootstrap yaml?
e.g. SPICEDB_DATASTORE_BOOTSTRAP_FILES=/mnt/spicedb_bootstrap.yaml
(see https://github.com/merlante/inventory_access_poc/blob/main/docker-compose.yml)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't have a base sample schema; I skipped it. We can add it later if you'd like.

spicedb/start-postgresql.sh Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants