Drop host port publish for postgres (5433 taken by bilhej-postgres-prod on host)
All checks were successful
CI / api-tests (push) Successful in 34s
CI / package-tests (push) Successful in 26s
CI / web-tests (push) Successful in 23s

This commit is contained in:
jocke 2026-07-31 10:15:18 +00:00
parent 20e14800ed
commit 7ede416a3b
2 changed files with 4 additions and 3 deletions

View file

@ -1,6 +1,7 @@
# ---- Database ---- # ---- Database ----
# Used by apps/api to connect to the postgres service defined in docker-compose.yml. # Used by apps/api to connect to the postgres service defined in docker-compose.yml.
DATABASE_URL=postgresql://jobhunt:***@localhost:5433/jobhunt # Postgres is not published to the host; all services run inside the compose network.
DATABASE_URL=postgresql://jobhunt:***@postgres:5432/jobhunt
# ---- LLM Gateway ---- # ---- LLM Gateway ----
# Primary provider (default: GLM-5.2 via ollama-cloud). # Primary provider (default: GLM-5.2 via ollama-cloud).

View file

@ -8,8 +8,8 @@ services:
POSTGRES_USER: jobhunt POSTGRES_USER: jobhunt
POSTGRES_PASSWORD: jobhunt POSTGRES_PASSWORD: jobhunt
POSTGRES_DB: jobhunt POSTGRES_DB: jobhunt
ports: # No host port publishing: CI/tests run inside the compose network, and on
- "5433:5432" # this host 5433 is already taken by bilhej-postgres-prod.
volumes: volumes:
- jobhunt_pgdata:/var/lib/postgresql/data - jobhunt_pgdata:/var/lib/postgresql/data
healthcheck: healthcheck: