Expose postgres at standard port

This commit is contained in:
Patrik Lundin 2024-11-14 12:14:18 +01:00
parent cb46a3b6fb
commit 29c81d13a0
Signed by: patlu
GPG key ID: A0A812BA2249F294

View file

@ -4,7 +4,7 @@ services:
environment: environment:
- POSTGRES_PASSWORD=<%= @db_secrets['postgres_password'] %> - POSTGRES_PASSWORD=<%= @db_secrets['postgres_password'] %>
ports: ports:
- "5432" - "5432:5432"
volumes: volumes:
- postgres_data:/var/lib/postgresql/data - postgres_data:/var/lib/postgresql/data
- /opt/sunet-cdn/db/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d - /opt/sunet-cdn/db/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d