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: volumes:
- pgdata:/var/lib/postgresql - pgdata:/var/lib/postgresql
- ./pgBackup:/mnt/pgBackup - ./pgBackup:/mnt/pgBackup
ports:
- "5432:5432"
pgadmin: pgadmin:
image: dpage/pgadmin4:latest image: dpage/pgadmin4:latest
ports: ports:
- "5050:80" - "5050:80"
env_file: "variables.env" env_file: "variables.env"
secrets:
- postgres_pwd
depends_on: depends_on:
- postgres - postgres
volumes: volumes:
- pgadmindata:/var/lib/pgadmin - pgadmindata:/var/lib/pgadmin
#- ./pgBackup:/mnt/host
# uncomment the above line if you plan to restore / backup dump files from PGAdmin UI
volumes: volumes:
pgdata: pgdata:
pgadmindata: