Skip to content

Comments

Fix scripts for docker-compose examples to honor PostgreSQL/OpenSearch env vars#130

Open
bpteam wants to merge 1 commit intotemporalio:mainfrom
bpteam:fix-postgres-opensearch-setup
Open

Fix scripts for docker-compose examples to honor PostgreSQL/OpenSearch env vars#130
bpteam wants to merge 1 commit intotemporalio:mainfrom
bpteam:fix-postgres-opensearch-setup

Conversation

@bpteam
Copy link

@bpteam bpteam commented Feb 20, 2026

What was changed

Changing PostgreSQL/OpenSearch settings in compose/scripts (db host, db username) for using env variables from docker compose files

Why?

Changing PostgreSQL/OpenSearch settings in docker-compose (db host, db username) could crash on first startup because init scripts were effectively using defaults instead of the compose-provided environment.

  1. How was this tested:
    Run commands with changed scripts
    docker compose -f compose/docker-compose.yml up
    docker compose -f compose/docker-compose-postgres.yml up
    docker compose -f compose/docker-compose-postgres-opensearch.yml up

  2. Any docs updates needed?
    No

Align the example configs so init scripts honor the environment variables
passed from docker-compose.

…h env vars

Changing PostgreSQL/OpenSearch settings in compose/scripts (db host, db username) could crash on first startup because init scripts were
effectively using defaults instead of the compose-provided environment.

Align the example configs so init scripts honor the environment variables
passed from docker-compose.
@bpteam bpteam requested a review from a team as a code owner February 20, 2026 16:26
@CLAassistant
Copy link

CLAassistant commented Feb 20, 2026

CLA assistant check
All committers have signed the CLA.

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