Add pgadmin
This commit is contained in:
parent
eb852a9d67
commit
2bcc383538
25
pgadmin
Normal file
25
pgadmin
Normal file
|
|
@ -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:
|
||||
Loading…
Reference in a new issue