fix(Docker): Persistent volumes for ac-database (#2947)
This commit is contained in:
parent
c7f4204d1f
commit
f72788446f
2 changed files with 7 additions and 1 deletions
|
|
@ -13,6 +13,10 @@ services:
|
|||
- ${DB_EXTERNAL_PORT:-3306}:3306
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=${DB_ROOT_PASSWORD:-password}
|
||||
volumes:
|
||||
- type: volume
|
||||
source: ac-database
|
||||
target: /var/lib/mysql
|
||||
|
||||
ac-worldserver:
|
||||
stdin_open: true
|
||||
|
|
@ -63,5 +67,8 @@ services:
|
|||
depends_on:
|
||||
- ac-database
|
||||
|
||||
volumes:
|
||||
ac-database:
|
||||
|
||||
networks:
|
||||
ac-network:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue