agepoly-events/dev-db/docker-compose.yml
Antoine Pelletier 52363d59ac first commit
2026-07-30 06:26:31 +02:00

25 lines
668 B
YAML

# This compose file should only be used in development.
# Caution: the ports of db and adminer are open without any application-side protection
services:
db:
image: postgres:18.3-alpine
ports: ["5432:5432"]
environment:
- POSTGRES_PASSWORD=postgres
volumes:
- ./db:/var/lib/postgresql
adminer:
image: adminer
ports: ["8080:8080"]
environment:
- ADMINER_SERVERS={
"dev db":{
"driver":"pgsql",
"server":"db",
"username":"postgres",
"password":"postgres",
"db":""
}
}
volumes:
- ./login-servers.php:/var/www/html/plugins-enabled/login-servers.php