fix(docker-compose): add extra_hosts for host access and define ac-network
This commit is contained in:
parent
2df1fad904
commit
c2716e61b2
1 changed files with 7 additions and 0 deletions
|
|
@ -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}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue