worker: Update wp script to use named volume for db
All checks were successful
Build Docker / Build Master (push) Successful in 26s
Build Docker / Build Bot (push) Successful in 26s

This commit is contained in:
Nathan Woodburn 2023-09-20 22:01:01 +10:00
parent 6f86987901
commit 08f36a7a50
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -43,6 +43,8 @@ services:
MYSQL_DATABASE: WordPressDatabase
MYSQL_USER: WordPressUser
MYSQL_PASSWORD: $MYSQL_PASSWORD
volumes:
- mysql:/var/lib/mysql
wordpress:
depends_on:
- ${DOMAIN}db