Expose postgres port

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

View file

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