azerothcore / acore-docker

docker-compose example to run an azerothcore platform
https://www.azerothcore.org/acore-docker/
GNU Affero General Public License v3.0
212 stars 82 forks source link

service ac-dev-server declares mutually exclusive `network_mode` and `networks`: invalid compose project #18

Closed wkchunqiu closed 1 year ago

wkchunqiu commented 1 year ago

Excuse me for this error What's the problem?

Helias commented 1 year ago

I do not know exactly the nature of the issue but as I recommended in several issues and written in the README you can fix this issue upgrading your docker and docker-compose version.

README source:

image

Users encountered this issue and solved upgrading docker: https://github.com/azerothcore/acore-docker/issues/8 https://github.com/azerothcore/acore-docker/issues/10 https://github.com/azerothcore/acore-docker/issues/17

Please, check the existing issues before open a new one

houbing2006 commented 1 year ago

Delete " network_mode: service:ac-dev-database" in the file "docker compose.yml"

Helias commented 1 year ago

I think you are right and I was wrong, probably the new versions ignore this non-working command, we have to comment this to make the docker container works I think that who wrote that made a mis-match of the name

Fixed, thanks @houbing2006