Skip to content

Commit

Permalink
config: set wordpress volumes
Browse files Browse the repository at this point in the history
  • Loading branch information
luojiyin1987 committed Jan 15, 2024
1 parent e6b1d27 commit b092a3f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wordpress-mysql/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ services:
image: wordpress:latest
ports:
- 80:80
volumes:
- ./wordpress_data:/var/www/html
restart: always
environment:
- WORDPRESS_DB_HOST=db
Expand All @@ -30,4 +32,4 @@ volumes:
db_data:




0 comments on commit b092a3f

Please sign in to comment.