From b8d1711dddf3e82d712827fe3ecdb1a2e67951d9 Mon Sep 17 00:00:00 2001 From: Jonas Bengtsson Date: Thu, 3 Sep 2026 17:24:18 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20Add=20pgAdmin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 1e8ea5a..fe35496 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -98,6 +98,20 @@ services: retries: 3 start_period: 30s + pgadmin: + image: dpage/pgadmin:9.17 + restart: unless-stopped + depends_on: + db: + condition: service_healthy + environment: + PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL} + PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD:-change_this_bad_password} + PGADMIN_DISABLE_POSTFIX: ${PGADMIN_DISABLE_POSTFIX} + PGADMIN_ENABLE_TLS: ${PGADMIN_ENABLE_TLS} + PGADMIN_LISTEN_ADDRESS: ${PGADMIN_LISTEN_ADDRESS} + PGADMIN_LISTEN_PORT: ${PGADMIN_LISTEN_PORT} + broker: # Optional MQTT broker for local testing; excluded unless the "test" # profile is active (docker compose --profile test ...). Point @@ -115,5 +129,6 @@ services: timeout: 5s retries: 3 + volumes: db_data: \ No newline at end of file