1
0
Fork 0
mirror of https://github.com/docker/awesome-compose.git synced 2025-04-19 15:28:06 +02:00

config: set wordpress volumes

Signed-off-by: luojiyin <luojiyin@hotmail.com>
This commit is contained in:
luojiyin 2024-01-15 10:28:54 +08:00
parent e6b1d2755f
commit 7b9b53aaca
No known key found for this signature in database
GPG key ID: FE7BBA860A546F55

View file

@ -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: