Drop host port publish for postgres (5433 taken by bilhej-postgres-prod on host)
This commit is contained in:
parent
20e14800ed
commit
7ede416a3b
2 changed files with 4 additions and 3 deletions
|
|
@ -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).
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue