Files
moonwell-core/docker-compose.prod.yml
T

44 lines
833 B
YAML

services:
ac-database:
command: >
--innodb_buffer_pool_size=4G
--innodb_redo_log_capacity=1G
--innodb_flush_log_at_trx_commit=2
--innodb_flush_method=O_DIRECT
--max_connections=300
--slow_query_log=1
--long_query_time=2
deploy:
resources:
limits:
cpus: '2'
memory: 5G
ac-worldserver:
deploy:
resources:
limits:
cpus: '6'
memory: 6G
ulimits:
nofile:
soft: 65536
hard: 65536
logging:
driver: "json-file"
options:
max-size: "100m"
max-file: "5"
ac-authserver:
deploy:
resources:
limits:
cpus: '1'
memory: 512M
logging:
driver: "json-file"
options:
max-size: "50m"
max-file: "3"