mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-07 12:51:08 +00:00
fix(Docker): Persistent volumes for ac-database (#2947)
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -90,4 +90,3 @@ local.properties
|
|||||||
# !modules/yourmodule
|
# !modules/yourmodule
|
||||||
#
|
#
|
||||||
# ==================
|
# ==================
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,10 @@ services:
|
|||||||
- ${DB_EXTERNAL_PORT:-3306}:3306
|
- ${DB_EXTERNAL_PORT:-3306}:3306
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=${DB_ROOT_PASSWORD:-password}
|
- MYSQL_ROOT_PASSWORD=${DB_ROOT_PASSWORD:-password}
|
||||||
|
volumes:
|
||||||
|
- type: volume
|
||||||
|
source: ac-database
|
||||||
|
target: /var/lib/mysql
|
||||||
|
|
||||||
ac-worldserver:
|
ac-worldserver:
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
@@ -63,5 +67,8 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- ac-database
|
- ac-database
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
ac-database:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
ac-network:
|
ac-network:
|
||||||
|
|||||||
Reference in New Issue
Block a user