Add wp_data volume

My best guess at this issue #15677
This commit is contained in:
Emmanuel Adumbire 2022-09-16 23:13:56 -04:00 committed by GitHub
parent 2892e90b7a
commit a795d3740f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -58,6 +58,8 @@ Compose to set up and run WordPress. Before starting, make sure you have
- 33060
wordpress:
image: wordpress:latest
volumes:
- wp_data:/var/www/html
ports:
- 80:80
restart: always
@ -68,6 +70,7 @@ Compose to set up and run WordPress. Before starting, make sure you have
- WORDPRESS_DB_NAME=wordpress
volumes:
db_data:
wp_data:
```
> **Notes**: