From c2716e61b24a3da367b9d724fbf2ef2e966ed2d7 Mon Sep 17 00:00:00 2001 From: Yehonal Date: Thu, 10 Jul 2025 13:02:24 +0200 Subject: [PATCH 1/2] fix(docker-compose): add extra_hosts for host access and define ac-network --- docker-compose.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 373e708a..4a274777 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,9 +11,16 @@ services: - .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} From 1fc5e919b7b8d066e5e85f21199ca655d9a142a3 Mon Sep 17 00:00:00 2001 From: Yehonal Date: Fri, 11 Jul 2025 11:03:11 +0200 Subject: [PATCH 2/2] fix(docker-compose): remove extra_hosts configuration for host access --- docker-compose.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 4a274777..74fbc367 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,10 +11,6 @@ services: - .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