services: ac-database: command: > --innodb_buffer_pool_size=4G --innodb_log_file_size=512M --innodb_flush_log_at_trx_commit=2 --innodb_flush_method=O_DIRECT --max_connections=300 --query_cache_size=0 --query_cache_type=0 --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"