azerothcore-armory/docker-compose.yml

26 lines
816 B
YAML

services:
armory:
restart: unless-stopped
build:
context: .
dockerfile: Dockerfile
volumes:
- ./data:/data/
- ./logs:/logs/
env_file:
- .env
networks:
- local-private-net
# allow the container to access the host machine
# this is useful for development purposes, e.g. to access the database/AC server running on the host
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- 48733:48733
networks:
local-private-net:
driver: bridge
ac-network:
name: ${DOCKER_AC_NETWORK_NAME:-azerothcore-wotlk_ac-network} # default network name if you use the docker setup of ac
external: ${DOCKER_AC_NETWORK_EXTERNAL:-false}