summaryrefslogtreecommitdiff
path: root/docs/database-only-quick-setup.md
diff options
context:
space:
mode:
authorFrancesco Borzì <borzifrancesco@gmail.com>2021-04-24 17:55:24 +0200
committerGitHub <noreply@github.com>2021-04-24 17:55:24 +0200
commit40fc1e86ec7fe143c94e8a51906a8528bfbc50e7 (patch)
tree72e66cae015277f18acb4e8c2d081400fe345323 /docs/database-only-quick-setup.md
parent8f4c512ef152f416c8e19b58487c355b622a5c17 (diff)
downloadwiki-40fc1e86ec7fe143c94e8a51906a8528bfbc50e7.tar.gz
wiki-40fc1e86ec7fe143c94e8a51906a8528bfbc50e7.tar.bz2
wiki-40fc1e86ec7fe143c94e8a51906a8528bfbc50e7.zip
docs: improve db-only docker setup (#441)
Diffstat (limited to 'docs/database-only-quick-setup.md')
-rw-r--r--docs/database-only-quick-setup.md18
1 files changed, 6 insertions, 12 deletions
diff --git a/docs/database-only-quick-setup.md b/docs/database-only-quick-setup.md
index 362f4ab..5b7a5c5 100644
--- a/docs/database-only-quick-setup.md
+++ b/docs/database-only-quick-setup.md
@@ -30,36 +30,30 @@ cd azerothcore-wotlk;
You can easily create an instance of MySQL server containing the AC database using:
```
-docker-compose up ac-database
-```
-
-Alternatively, you can pass the `-d` parameter to run this command in detach mode:
-
-```
-docker-compose up -d ac-database
+docker compose up -d ac-database
```
The default password will be `password` and the default port will be `3306`.
-If you want to chance those values, run the following instead:
+If you want to change those values, run the following instead:
```
-DB_EXTERNAL_PORT=9000 DB_ROOT_PASSWORD=root docker-compose up ac-database
+DOCKER_DB_EXTERNAL_PORT=9000 DOCKER_DB_ROOT_PASSWORD=root docker compose up -d ac-database
```
After the db service is up and running, use the following command to import the database
-`docker-compose run --rm ac-dev-server ./acore.sh db-assembler import-all`
+`docker compose run --rm ac-dev-server ./acore.sh db-assembler import-all`
This will import all the sql files needed to setup your database
-NOTE: The same command can be used to keep the database updated with latest changes when you update the repository
+**NOTE:** The same command can be used to keep the database updated with latest changes when you update the repository
### Destroy the docker instance of the AC Database
You can destroy the containers created with docker-compose using:
```
-docker-compose down
+docker compose down
```