fix(docker-compose): add extra_hosts for host access and define ac-network

This commit is contained in:
Yehonal 2025-07-10 13:02:24 +02:00
parent 2df1fad904
commit c2716e61b2

View file

@ -11,9 +11,16 @@ services:
- .env - .env
networks: networks:
- local-private-net - 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: ports:
- 48733:48733 - 48733:48733
networks: networks:
local-private-net: local-private-net:
driver: bridge 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}