-
-
Save mikaelz/b93796d9edd085cb595c737a86c8929a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.2" | |
services: | |
wordpress: | |
image: wordpress | |
volumes: | |
- type: volume | |
source: www-data | |
target: /var/www/html | |
expose: | |
- 80 | |
restart: unless-stopped | |
mysql: | |
image: mysql:5.7 | |
volumes: | |
- type: volume | |
source: db-data | |
target: /var/lib/mysql | |
networks: | |
- wordpress | |
restart: unless-stopped | |
volumes: | |
www-data: | |
db-data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment