Merge pull request #15680 from MannyAdumbire/docs-wp-error

Add wp_data volume
This commit is contained in:
Craig Osterhout 2022-09-19 15:27:12 -07:00 committed by GitHub
commit 86e82cba7a
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**: