Skip to content

No-Node quickstart via prebuilt ghcr image (compose --profile server) - #6

Merged
yail259 merged 1 commit into
mainfrom
docker-quickstart
Jun 12, 2026
Merged

yail259 merged 1 commit into
mainfrom
docker-quickstart

Conversation

@yail259

@yail259 yail259 commented Jun 12, 2026

Copy link
Copy Markdown
Member

Co-Authored-By: Claude Fable 5 noreply@anthropic.com

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@yail259
yail259 merged commit 5483fb1 into main Jun 12, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 552af5dfcb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docker-compose.yml
Comment on lines +22 to +23
depends_on:
- postgres

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Wait for Postgres readiness before starting server

In the documented docker compose --profile server up -d path, the new server container starts immediately after the Postgres container is created, but apps/server/src/index.ts runs await migrate() before listening and db.ts performs a single pool.connect() with no retry. Docker’s Compose service docs state that short depends_on only controls startup order and “does not wait for dependency services to be ‘healthy’” (https://docs.docker.com/reference/compose-file/services/#depends_on), so on a fresh volume the server can race Postgres initialization, exit on ECONNREFUSED, and leave the advertised no-Node quickstart down. Add a Postgres healthcheck and use condition: service_healthy here, or make the server retry DB connection.

Useful? React with 👍 / 👎.

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.

1 participant