mirror of https://gitee.com/answerdev/answer.git
Merge pull request #11 from zhuangbiaowei/main
Modify default dir_name when docker-compose start
This commit is contained in:
commit
1ac65ad625
|
@ -11,7 +11,7 @@ services:
|
||||||
links:
|
links:
|
||||||
- db
|
- db
|
||||||
volumes:
|
volumes:
|
||||||
- ./answer/data:/data
|
- ./answer-data/data:/data
|
||||||
db:
|
db:
|
||||||
image: mariadb:10.4.7
|
image: mariadb:10.4.7
|
||||||
ports:
|
ports:
|
||||||
|
@ -26,4 +26,4 @@ services:
|
||||||
retries: 10
|
retries: 10
|
||||||
command: ['mysqld', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci', '--skip-character-set-client-handshake']
|
command: ['mysqld', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci', '--skip-character-set-client-handshake']
|
||||||
volumes:
|
volumes:
|
||||||
- ./answer/mysql:/var/lib/mysql
|
- ./answer-data/mysql:/var/lib/mysql
|
||||||
|
|
Loading…
Reference in New Issue