Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install modules? #41

Open
dlmw opened this issue Jun 2, 2024 · 5 comments
Open

How to install modules? #41

dlmw opened this issue Jun 2, 2024 · 5 comments

Comments

@dlmw
Copy link

dlmw commented Jun 2, 2024

Hello, and first thank you for the amazing work in putting together those Docker images! My instance is running flawlessly.

There's this mod-autobalance module that I'd like to install and in the official docs they're talking about needing to recompile AzerothCore in order for it to work correctly. I'm not sure how that applies to Docker.

Could anybody help me figure it out? Thanks 💙

Edit: Worth noting I'm using Docker Swarm and not Docker Compose. I'm not sure how to translate docker compose up -d --build into Swarm.

@dezral
Copy link

dezral commented Aug 25, 2024

I have not figured this out either. I would like to use the same mod and mod-individual-xp
https://github.com/azerothcore/mod-individual-xp.

but i think it's a volume we need to add to the composer file with the mods but not sure or had time to test it

@Helias
Copy link
Member

Helias commented Aug 26, 2024

indeed, you have to add a module that associate your-module-directory into src/modules/
hope to write a small documentation about it

@dezral
Copy link

dezral commented Aug 26, 2024

indeed, you have to add a module that associate your-module-directory into src/modules/ hope to write a small documentation about it

im new to azerothcore but long time linux/docker user.. if you could point me in the right direction i could try write something down

@Helias
Copy link
Member

Helias commented Aug 26, 2024

Sorry, checking it better, probably you can't with the current docker image because the docker image includes the binary without any modules, they are just the results of the compilation of the azerothcore-wotlk source code, to add a module you should do a step back, so maybe use a docker image that replaces ac-worldserver with a docker image that includes the source code and it has a build step

@dezral
Copy link

dezral commented Aug 27, 2024

Sorry, checking it better, probably you can't with the current docker image because the docker image includes the binary without any modules, they are just the results of the compilation of the azerothcore-wotlk source code, to add a module you should do a step back, so maybe use a docker image that replaces ac-worldserver with a docker image that includes the source code and it has a build step

ahh okay thanks, i have been trying this below guide also, and it works until i get to the import the database and i get this
✘ Container ac-db-import service "ac-db-import" didn't complete successfully: exit 1

I have not been able to find out why exactly , other than it have something to do with the connection to the database.. from log and something that it try's to connect from wrong ip..

think i just need to find out where to change the mysql user host from localhost to %. like here https://github.com/azerothcore/azerothcore-wotlk/tree/4db17e158c83e90c0fffddf8ab2dffdafd7545fd/data/sql/create

https://www.azerothcore.org/wiki/install-with-docker
git clone https://github.com/azerothcore/azerothcore-wotlk.git --depth 1
docker compose build
docker compose up -d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants