Skip to content

Commit f0f65f0

Browse files
committed
fix(docker): drop unconditional RUNTIME_API_ORIGIN passthrough from compose
The line was injecting an empty string when the variable wasn't set in the caller's environment, which the prior commit normalizes at the schema level. Removing the passthrough closes the surface entirely (defense in depth) and mirrors the Helm chart's conditional inclusion (`{{- with .Values... }}`). Operators who want to set RUNTIME_API_ORIGIN follow the documented example in .env.example, which is loaded by Docker Compose automatically and works exactly like the other optional origin overrides.
1 parent 2c0ba42 commit f0f65f0

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

hosting/docker/webapp/docker-compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ services:
4343
APP_ORIGIN: ${APP_ORIGIN:-http://localhost:8030}
4444
LOGIN_ORIGIN: ${LOGIN_ORIGIN:-http://localhost:8030}
4545
API_ORIGIN: ${API_ORIGIN:-http://localhost:8030}
46-
RUNTIME_API_ORIGIN: ${RUNTIME_API_ORIGIN:-}
4746
ELECTRIC_ORIGIN: http://electric:3000
4847
DATABASE_URL: ${DATABASE_URL:-postgresql://postgres:postgres@postgres:5432/main?schema=public&sslmode=disable}
4948
DIRECT_URL: ${DIRECT_URL:-postgresql://postgres:postgres@postgres:5432/main?schema=public&sslmode=disable}

0 commit comments

Comments
 (0)