TODO
-
-
Save staernid/64abecad2a66f144fde6ef51fccd3c04 to your computer and use it in GitHub Desktop.
Azerothcore-wotlk (with playerbots in my case) Docker Compose override file. This has lazytainer configured to automatically stop or start up your game server depending on if anyone is playing (or trying ot log in).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AC_DATA_DIR="/azerothcore/env/dist/data" | |
| AC_LOGS_DIR="/azerothcore/env/dist/logs" | |
| AC_LOGIN_DATABASE_INFO="lazytainer;3306;root;${DOCKER_DB_ROOT_PASSWORD:-password};acore_auth" | |
| AC_WORLD_DATABASE_INFO="lazytainer;3306;root;${DOCKER_DB_ROOT_PASSWORD:-password};acore_world" | |
| AC_CHARACTER_DATABASE_INFO="lazytainer;3306;root;${DOCKER_DB_ROOT_PASSWORD:-password};acore_characters" | |
| AC_PLAYERBOTS_DATABASE_INFO="lazytainer;3306;root;${DOCKER_DB_ROOT_PASSWORD:-password};acore_playerbots" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| ac-worldserver: | |
| ports: !reset "" | |
| environment: !reset "" | |
| env_file: .env | |
| volumes: | |
| - ./modules:/azerothcore/modules:ro | |
| networks: !reset "" | |
| network_mode: "service:lazytainer" | |
| labels: | |
| - "lazytainer.group=wotlk" | |
| depends_on: | |
| - lazytainer | |
| ac-authserver: | |
| ports: !reset "" | |
| networks: !reset "" | |
| environment: !reset "" | |
| env_file: .env | |
| network_mode: "service:lazytainer" | |
| labels: | |
| - "lazytainer.group=wotlk" | |
| depends_on: | |
| - lazytainer | |
| ac-database: | |
| ports: !reset "" | |
| networks: !reset "" | |
| network_mode: "service:lazytainer" | |
| labels: | |
| - "lazytainer.group=wotlk" | |
| depends_on: | |
| - lazytainer | |
| ac-db-import: | |
| networks: !reset "" | |
| environment: !reset "" | |
| env_file: .env | |
| network_mode: "service:lazytainer" | |
| labels: | |
| - "lazytainer.group=wotlk" | |
| depends_on: | |
| - lazytainer | |
| lazytainer: | |
| container_name: lazytainer | |
| image: ghcr.io/vmorganp/lazytainer:master | |
| environment: | |
| - VERBOSE=true | |
| ports: | |
| - "3724:3724" | |
| - "8085:8085" | |
| - "7878:7878" | |
| volumes: | |
| - /var/run/docker.sock:/var/run/docker.sock:ro | |
| labels: | |
| - "lazytainer.group.wotlk.ports=3724,8085,7878,3036" | |
| - "lazytainer.group.wotlk.inactiveTimeout=300" # A value of two minutes is safe on my hardware but this may need to be raised based on satisfactory container startup time on slower hardware | |
| - "lazytainer.group.wotlk.minPacketThreshold=2" | |
| - "lazytainer.group.wotlk.pollRate=10" | |
| - "lazytainer.group.wotlk.sleepMethod=stop" # This is the default but important to reclaim memory with such high usage. Changing this to sleep may speed up reload times? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment