acore-cms_deps
acore-cms_deps
com/azerothcore/acore-cms/tree/master/docs
Requirements
• Docker & docker-compose
• Nodejs & npm
On a Linux distro, you can install it via package manager, in a debian-based for example
you can just run:
Usage
Docker container
If you installed the requirements you are able to run the application using:
$ docker-compose up
It will download the related dependencies of the containers and start the acore-cms,
next time you will need to just start the acore cms you can use:
Open your command prompt terminal (on Windows is for example PowerShell),
navigate to the repository folder and issue the command:
docker-compose up
It will set up the docker container and download the necessary dependencies within.
2 of 5 8/16/2024, 11:53 PM
acore-cms/docs at master · azerothcore/acore-cms https://github.com/azerothcore/acore-cms/tree/master/docs
Make sure that your port 80 is not already used by another service like Apache2, nginx
etc.
If you want to change the port, you can change it from .env through the parameter
DOCKER_HTTP_PORTS and DOCKER_HTTPS_PORTS .
Example:
DOCKER_HTTP_PORTS=8080:80
DOCKER_HTTPS_PORTS=443:443
The env variables above are used to configure the ports within the docker-compose file.
To understand how port configurations work in docker-compose, please take a look at
the official documentation
Note: if you change this after the wordpress installation remember to change also the
siteurl and related wordpress parameters in wp_options table.
Run the docker webservice in background and open a bash shell inside the container
3 of 5 8/16/2024, 11:53 PM
acore-cms/docs at master · azerothcore/acore-cms https://github.com/azerothcore/acore-cms/tree/master/docs
Export the mysql database of the current wordpress installation inside the /data/sql
folder (backup)
Import the sql files under /data/sql folder inside the mysql database of the current
wordpress installation (restore backup)
Configure docker
If you need to change some docker configuration (such as the exposed port or the
configuration paths) you can create an .env within the root of this project. This file is
git-ignored and will be used by docker-compose to set some internal variables to
configure the containers. The available configurations are available at the end of the
.env.docker file where you can find some commented variables that you can copy/
paste within the just created .env file and uncomment them to set them up.
4 of 5 8/16/2024, 11:53 PM
acore-cms/docs at master · azerothcore/acore-cms https://github.com/azerothcore/acore-cms/tree/master/docs
NOTE: by default sql files will be exported inside the /data/sql folder
database export
npm run docker:db:export
database import
npm run docker:db:import
5 of 5 8/16/2024, 11:53 PM