worker: Update wp script to use named volume for db
This commit is contained in:
parent
6f86987901
commit
08f36a7a50
@ -43,6 +43,8 @@ services:
|
|||||||
MYSQL_DATABASE: WordPressDatabase
|
MYSQL_DATABASE: WordPressDatabase
|
||||||
MYSQL_USER: WordPressUser
|
MYSQL_USER: WordPressUser
|
||||||
MYSQL_PASSWORD: $MYSQL_PASSWORD
|
MYSQL_PASSWORD: $MYSQL_PASSWORD
|
||||||
|
volumes:
|
||||||
|
- mysql:/var/lib/mysql
|
||||||
wordpress:
|
wordpress:
|
||||||
depends_on:
|
depends_on:
|
||||||
- ${DOMAIN}db
|
- ${DOMAIN}db
|
||||||
|
Loading…
Reference in New Issue
Block a user