Conversation
Adds a Dockerfile at the repo root using node:22-slim, installs pnpm@9.15.4 via corepack and supabase@2.71.0 via npm. Copies all workspace package.json files and runs pnpm install --frozen-lockfile for a cached dependency layer. Documents Docker socket passthrough requirement for the supabase service.
Adds .env.docker with well-known Supabase local dev defaults (anon key, service-role key, JWT secret), REDIS_URL, and APP_PORT=3100. Adds .env.docker.example with inline comments explaining each variable. No production secrets in either file.
…oad, and configurable port Adds docker-compose.yml defining app, api, supabase, and redis services. app and api use bind-mounts for hot-reload with named volumes protecting node_modules and .next caches. supabase mounts Docker socket and runs against supabase-dev.toml. APP_PORT defaults to 3100. All services share the op-dev bridge network.
…Docker Adds SUPABASE_URL=http://supabase:54321 to .env.docker for server-side Next.js code running inside the app container to reach Supabase via the Docker network. supabase-dev.toml already configures seed.sql seeding and all Supabase ports (54321-54324) are mapped in docker-compose.yml.
Adds docker/README.md with a Docker Dev Environment section covering prerequisites, quick start command, service URLs, port customization (APP_PORT), hot-reload details, and teardown commands (with and without -v).
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
scazan
commented
Mar 9, 2026
| DATABASE_URL=postgresql://postgres:postgres@dind:54322/postgres | ||
|
|
||
| NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRFA0NiK7CcyFDME5Q8x4vRBJvHBNNT8ue6kDjFHnNE | ||
| SUPABASE_SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImV4cCI6MTk4MzgxMjk5Nn0.EGIM96RAZx35lJzdJsyH-qQwv8Hj04zWl196z2-SBcA |
Collaborator
Author
There was a problem hiding this comment.
Test keys to be clear :)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sets up our Development environment in Docker so that we can easily spin up dev instances that are isolated from each other.