Conversation
The host ports for Postgres and the app were fixed at 5432 and 3000. They can now be overridden with DB_PORT and API_PORT; the defaults are unchanged. Also document that the migrate image runs one-off tasks such as db:init, and fix a Dockerfile comment that still mentioned the removed design CSS and fonts. Signed-off-by: voidash <ashish.thapa477@gmail.com>
This was referenced Sep 27, 2026
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.
What this changes
compose.yamlcan be overridden withDB_PORTandAPI_PORT. The defaults are unchanged (5432, 3000). Before this, running the stack next to another Postgres or app on those ports meant editing the file.migrateimage also runs one-off tasks such asdocker compose run --rm migrate bun run db:init.Closes #37
How to check it
The whole Docker path was tested from a fresh clone of
main:docker compose configwith noapps/api/.env.localdocker compose builddocker compose up -d/health,/en,/ne,/en/members,/en/issues,/v1/membersnode(uid 1000),/app/storagewritabledocker compose run --rm migrate bun run db:initon a fresh database/v1/project404 → 200docker compose run --rm migrate bun run sync:githubdownthenupDB_PORT=15432 API_PORT=13000 docker compose up -dDeliberately not changed: the
refineddatabase credentials and the volume names. Renaming them would start any existing deployment on an empty volume, so that needs a planned migration.Checklist