From 2bcc38353838145d8add47783ed12e83d602586d Mon Sep 17 00:00:00 2001 From: Timur Date: Mon, 29 Jun 2026 19:18:53 +0000 Subject: [PATCH] Add pgadmin --- pgadmin | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pgadmin diff --git a/pgadmin b/pgadmin new file mode 100644 index 0000000..083e17c --- /dev/null +++ b/pgadmin @@ -0,0 +1,25 @@ +services: + pgadmin: + image: dpage/pgadmin4:latest + container_name: pgadmin + restart: unless-stopped + + environment: + PGADMIN_DEFAULT_EMAIL: admin@example.com + PGADMIN_DEFAULT_PASSWORD: ChangeMe123! + PGADMIN_CONFIG_SERVER_MODE: "True" + + ports: + - "8080:80" + + volumes: + - pgadmin_data:/var/lib/pgadmin + + healthcheck: + test: ["CMD", "wget", "--spider", "-q", "http://localhost/misc/ping"] + interval: 30s + timeout: 10s + retries: 3 + +volumes: + pgadmin_data: \ No newline at end of file