From 5c19a002b6a5750c23184c24f076b1dc6b3668c1 Mon Sep 17 00:00:00 2001 From: Thomas Hii Date: Sun, 7 Jul 2024 23:03:07 +0800 Subject: [PATCH] Added pgadmin4 --- docker/docker-compose-pg.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docker/docker-compose-pg.yml b/docker/docker-compose-pg.yml index cdd19d35..e8f588ae 100644 --- a/docker/docker-compose-pg.yml +++ b/docker/docker-compose-pg.yml @@ -11,6 +11,18 @@ services: - "db:/var/lib/postgresql/data" networks: - webnet + + pgadmin4: + image: dpage/pgadmin4:latest + restart: "no" + ports: + - "5050:80" + environment: + - PGADMIN_DEFAULT_EMAIL=admin@mydomain.com + - PGADMIN_DEFAULT_PASSWORD=Qwerty + networks: + - webnet + volumes: db: driver: local