updating compose.yaml to have an exposed port for the postgres

This commit is contained in:
Aster Fialla
2026-03-01 10:51:12 -05:00
parent 174d411578
commit 8a7e3762ad

View File

@@ -10,18 +10,18 @@ services:
volumes:
- pgdata:/var/lib/postgresql
- ./pgBackup:/mnt/pgBackup
ports:
- "5432:5432"
pgadmin:
image: dpage/pgadmin4:latest
ports:
- "5050:80"
env_file: "variables.env"
secrets:
- postgres_pwd
depends_on:
- postgres
volumes:
- pgadmindata:/var/lib/pgadmin
#- ./pgBackup:/mnt/host
# uncomment the above line if you plan to restore / backup dump files from PGAdmin UI
volumes:
pgdata:
pgadmindata:
pgdata: