This repository has been archived on 2024-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
wikipedia-game-solver/compose.dev.yaml

42 lines
1.3 KiB
YAML
Raw Normal View History

2024-08-09 23:51:41 +02:00
services:
wikipedia-solver-dev-database:
container_name: "wikipedia-solver-dev-database"
image: "mariadb:10.6.17"
restart: "unless-stopped"
env_file: ".env"
environment:
MARIADB_USER: ${DATABASE_USER}
MARIADB_PASSWORD: ${DATABASE_PASSWORD}
MARIADB_ROOT_PASSWORD: ${DATABASE_PASSWORD}
MARIADB_DATABASE: ${DATABASE_NAME}
2024-08-10 02:32:34 +02:00
command: |
2024-08-09 23:51:41 +02:00
--innodb_buffer_pool_size=4G
--key-buffer-size=4G
--innodb_log_buffer_size=256M
--innodb_log_file_size=1G
--innodb_write_io_threads=16
--innodb_flush_log_at_trx_commit=0
--max_allowed_packet=1G
ports:
- "${DATABASE_PORT-3306}:${DATABASE_PORT-3306}"
volumes:
- "wikipedia-solver-dev-mariadb-data:/var/lib/mysql"
# - "./sql:/docker-entrypoint-initdb.d/"
wikipedia-solver-dev-adminer:
container_name: "wikipedia-solver-dev-adminer"
image: "adminer:4.8.1"
restart: "unless-stopped"
ports:
- "8080:8080"
env_file: ".env"
environment:
ADMINER_DEFAULT_SERVER: "wikipedia-solver-dev-database"
volumes:
2024-08-10 02:32:34 +02:00
- "./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"
2024-08-09 23:51:41 +02:00
volumes:
wikipedia-solver-dev-mariadb-data: