[DiscordArchive] How do i add custom maps, that i've extracted from the client to the docker containers for the serve
[DiscordArchive] How do i add custom maps, that i've extracted from the client to the docker containers for the serve
Archived author: Bolhuis • Posted: 2025-02-10T17:50:44.159000+00:00
Original source
How do i add custom maps, that i've extracted from the client to the docker containers for the server?
Archived author: metallinos • Posted: 2025-02-10T17:51:24.401000+00:00
Original source
There's two ways, either you change the source for maps in the Dockerfile and recompile or you place them manually in the container's data folder by cp-ing from your local OS to the docker box
Archived author: Bolhuis • Posted: 2025-02-10T17:54:32.373000+00:00
Original source
Thanks for the quick reply.
IIRC i tried to copy, but was told it was a read-only filesystem.
How/where would I change the dockerfile? I assume i could just mount the folder from the host to the container for the initial transfer? (linux containers on windows host)
Archived author: metallinos • Posted: 2025-02-10T17:55:32.986000+00:00
Original source
Yes you should be able to mount it but note that on build, the Dockerfile is set up to pull all DBC, vmaps, maps etc. data from this repo: https://github.com/wowgaming/client-data/releases/
Archived author: metallinos • Posted: 2025-02-10T17:56:01.782000+00:00
Original source
https://github.com/azerothcore/azerothco...Dockerfile This is the file where this is set
Archived author: metallinos • Posted: 2025-02-10T17:56:38.292000+00:00
Original source
You should also use the Dockerfile to adjust the permissions of the data folder so you can mount it. It is possible to do this on docker compose with a root override command as well if you don't want to rebuild to test
Archived author: metallinos • Posted: 2025-02-10T17:57:11.214000+00:00
Original source
So then it would be a cmd in your docker-compose.override.yml (preferably) or docker-compose.yml (in a pinch)
Archived author: Bolhuis • Posted: 2025-02-10T17:57:12.031000+00:00
Original source
Yeah I saw that it would pull it from the online.
Could i just append a `cp /mounted/dir/maps /azerothcore/data/maps`
To the bottom?
Archived author: metallinos • Posted: 2025-02-10T17:58:00.594000+00:00
Original source
Worth trying!
Archived author: metallinos • Posted: 2025-02-10T17:58:20.112000+00:00
Original source
I mean, you would need the correct permissions first, otherwise the cp will fail I think (I've never tried ha ha)