Expose postgres port
This commit is contained in:
parent
58dc985e12
commit
cb46a3b6fb
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,8 @@ services:
|
||||||
image: "postgres:<%= @postgres_version %>"
|
image: "postgres:<%= @postgres_version %>"
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_PASSWORD=<%= @db_secrets['postgres_password'] %>
|
- POSTGRES_PASSWORD=<%= @db_secrets['postgres_password'] %>
|
||||||
|
ports:
|
||||||
|
- "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
|
||||||
|
|
Loading…
Add table
Reference in a new issue