Skip to content

Feat/wal 1321 fixes - #48

Draft
philpotisk wants to merge 11 commits into
mainfrom
feat/wal-1321-fixes
Draft

Feat/wal 1321 fixes#48
philpotisk wants to merge 11 commits into
mainfrom
feat/wal-1321-fixes

Conversation

@philpotisk

Copy link
Copy Markdown
Contributor

No description provided.

waltkb and others added 11 commits August 24, 2026 13:47
`docker compose up -d --wait mongodb` always failed. mongodb declared `depends_on: - init-keyfile`,
which means condition service_started, but init-keyfile is a one-shot container that generates the
keyfile and exits. --wait treats that clean exit as a failure:

  container init_keyfile exited (0)

It is now declared as service_completed_successfully, which is what it actually is.

Waiting for MongoDB matters because the container needs 10-20s on a fresh volume to create the root
user, and connecting during that window fails with MongoSecurityException / AuthenticationFailed.

The published MongoDB and mongo-express ports are now overridable via MONGO_PORT and
MONGO_EXPRESS_PORT, so a host that already runs either service can still start the stack. Only host
access is affected; the Enterprise API always reaches MongoDB as mongo:27017 on the compose network.
`docker compose up -d --wait mongodb` always failed. mongodb declared `depends_on: - init-keyfile`,
which means condition service_started, but init-keyfile is a one-shot container that generates the
keyfile and exits. --wait treats that clean exit as a failure:

  container init_keyfile exited (0)

It is now declared as service_completed_successfully, which is what it actually is.

Waiting for MongoDB matters because the container needs 10-20s on a fresh volume to create the root
user, and connecting during that window fails with MongoSecurityException / AuthenticationFailed.

The published MongoDB and mongo-express ports are now overridable via MONGO_PORT and
MONGO_EXPRESS_PORT, so a host that already runs either service can still start the stack. Only host
access is affected; the Enterprise API always reaches MongoDB as mongo:27017 on the compose network.
@linear-code

linear-code Bot commented Sep 1, 2026

Copy link
Copy Markdown

WAL-1321

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.

2 participants