2022-10-20 15:30:07 +02:00
|
|
|
services:
|
|
|
|
pgadmin:
|
2022-10-20 19:12:33 +02:00
|
|
|
container_name: $APP_NAME-pgadmin
|
2022-10-20 15:30:07 +02:00
|
|
|
image: dpage/pgadmin4:latest
|
|
|
|
environment:
|
2022-10-20 19:12:33 +02:00
|
|
|
- PGADMIN_DEFAULT_EMAIL=${PGADMIN_DEFAULT_EMAIL:-$ADMIN_MAIL}
|
|
|
|
- PGADMIN_DEFAULT_PASSWORD=${PGADMIN_DEFAULT_PASSWORD:-$ADMIN_PASSWORD}
|
2022-10-20 15:30:07 +02:00
|
|
|
ports:
|
2022-10-29 20:29:48 +02:00
|
|
|
- ${PGADMIN_PORT:-80}:80
|
2022-10-20 15:30:07 +02:00
|
|
|
restart: always
|
|
|
|
depends_on:
|
2022-10-20 15:41:56 +02:00
|
|
|
postgres:
|
2022-10-21 16:49:58 +02:00
|
|
|
condition: service_healthy
|