replace adminer with pgadmin

This commit is contained in:
m5r 2021-09-25 18:56:54 +08:00
parent e969b1b83e
commit 73e11d7a65

View File

@ -9,13 +9,17 @@ services:
env_file: ./.env #Here we are using the already existing .env file
ports:
- "5432:5432"
admin:
image: adminer
restart: unless-stopped
depends_on:
- db
ports:
- 8080:8080
pga:
image: dpage/pgadmin4
environment:
PGADMIN_DEFAULT_EMAIL: root@localhost.localdomain
PGADMIN_DEFAULT_PASSWORD: secret
PGADMIN_DISABLE_POSTFIX: "true"
PGADMIN_CONFIG_SERVER_MODE: "False"
network_mode: host
volumes:
- pgadmin:/var/lib/pgadmin
volumes:
data:
pgadmin: