docker
: Expose database port to the host system
This commit is contained in:
parent
257ed5475c
commit
ef9671562d
1 changed files with 6 additions and 0 deletions
|
@ -51,6 +51,12 @@ services:
|
||||||
- type: "volume"
|
- type: "volume"
|
||||||
source: "postgres_data"
|
source: "postgres_data"
|
||||||
target: "/var/lib/postgresql/data"
|
target: "/var/lib/postgresql/data"
|
||||||
|
ports:
|
||||||
|
# FIXME: for development purposes only
|
||||||
|
- protocol: "tcp"
|
||||||
|
host_ip: "127.0.0.1"
|
||||||
|
target: 5432
|
||||||
|
published: 5432
|
||||||
expose:
|
expose:
|
||||||
- 5432
|
- 5432
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|
Loading…
Reference in a new issue