From 8a7e3762ada0870fc1e86e92d834cb6d00c31dd1 Mon Sep 17 00:00:00 2001 From: Aster Fialla Date: Sun, 1 Mar 2026 10:51:12 -0500 Subject: [PATCH] updating compose.yaml to have an exposed port for the postgres --- compose.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/compose.yaml b/compose.yaml index b8a9f23..143832e 100644 --- a/compose.yaml +++ b/compose.yaml @@ -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: \ No newline at end of file