Files
opt/compose.pgadmin.yaml

19 lines
514 B
YAML

services:
pgadmin:
container_name: pgadmin
environment:
- PGADMIN_DEFAULT_EMAIL="${PGADMIN_EMAIL:?}"
- PGADMIN_DEFAULT_PASSWORD=${PGADMIN_PASSWORD:?}"
image: dpage/pgadmin4:7.5
ports:
- 5050:80
restart: unless-stopped
volumes:
- /opt/pgadmin/var:/var/lib/pgadmin
- /opt/pgadmin/log:/var/log/pgadmin
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--spider", "http://localhost/misc/ping"]
interval: 30s
timeout: 10s
retries: 3