diff --git a/worker/wp.sh b/worker/wp.sh index 04855d5..c0cc7f0 100644 --- a/worker/wp.sh +++ b/worker/wp.sh @@ -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