config: set wordpress volumes

Signed-off-by: luojiyin <luojiyin@hotmail.com>
pull/413/head
luojiyin 6 months ago
parent e6b1d2755f
commit 7b9b53aaca
No known key found for this signature in database
GPG Key ID: FE7BBA860A546F55
  1. 4
      wordpress-mysql/compose.yaml

@ -20,6 +20,8 @@ services:
image: wordpress:latest
ports:
- 80:80
volumes:
- ./wordpress_data:/var/www/html
restart: always
environment:
- WORDPRESS_DB_HOST=db
@ -30,4 +32,4 @@ volumes:
db_data:

Loading…
Cancel
Save