docker: Expose database port to the host system

This commit is contained in:
Steffo 2024-12-12 04:23:55 +01:00
parent 257ed5475c
commit ef9671562d
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -51,6 +51,12 @@ services:
- type: "volume"
source: "postgres_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:
- 5432
healthcheck: