1
0
Fork 0
mirror of https://github.com/docker/awesome-compose.git synced 2025-04-19 15:28:06 +02:00
This commit is contained in:
luo jiyin 2024-05-22 18:08:04 +08:00 committed by GitHub
commit 52472e6c4b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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: