From 59790965a6e0af957652884a2b7c4aed7ad4699d Mon Sep 17 00:00:00 2001 From: hocine hacherouf Date: Thu, 6 Oct 2022 13:34:24 +0200 Subject: [PATCH] Add pgadmin on docker-compose #1310 (#1311) --- src/docker-compose.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/docker-compose.yml b/src/docker-compose.yml index 1a1579538..1e0140d0c 100644 --- a/src/docker-compose.yml +++ b/src/docker-compose.yml @@ -10,6 +10,18 @@ services: - 5432:5432 volumes: - pgdata:/var/lib/postgresql/data + pgadmin: + image: dpage/pgadmin4 + environment: + PGADMIN_DEFAULT_EMAIL: admin@changeme.com + PGADMIN_DEFAULT_PASSWORD: admin + PGADMIN_CONFIG_SERVER_MODE: 'False' + ports: + - 5050:80 + volumes: + - pgadmin:/var/lib/pgadmin + depends_on: + - "database" azureiothub.portal.server: image: ${DOCKER_REGISTRY-}azureiothubportalserver build: @@ -19,3 +31,4 @@ services: - "database" volumes: pgdata: + pgadmin: