services:
wikipedia-solver-dev-database:
container_name: "wikipedia-solver-dev-database"
image: "postgres:16.3"
restart: "unless-stopped"
env_file: ".env"
environment:
POSTGRES_USER: ${DATABASE_USER}
POSTGRES_PASSWORD: ${DATABASE_PASSWORD}
POSTGRES_DB: ${DATABASE_NAME}
command: |
--max_wal_size=4GB
ports:
- "${DATABASE_PORT-5432}:${DATABASE_PORT-5432}"
volumes:
- "wikipedia-solver-dev-postgres-data:/var/lib/postgresql/data"
- "./data:/data/"
wikipedia-solver-dev-adminer:
container_name: "wikipedia-solver-dev-adminer"
image: "adminer:4.8.1"
- "8080:8080"
ADMINER_DEFAULT_SERVER: "wikipedia-solver-dev-database"
- "./data/adminer/default-orange.css:/var/www/html/adminer.css"
- "./data/adminer/logo.png:/var/www/html/logo.png"
- "./data/adminer/fonts/:/var/www/html/fonts"
wikipedia-solver-dev-postgres-data: