docker-wordpress/docker-compose.yml
2021-03-23 09:55:49 +01:00

22 lines
338 B
YAML

version: "3.7"
x-default: &default
restart: unless-stopped
env_file: .env
services:
home:
<<: *default
image: cupcakearmy/wordpress
ports:
- 80:80
volumes:
- ./data/home:/var/www/html
depends_on:
- db
db:
<<: *default
image: mariadb:10
volumes:
- ./data/db:/var/lib/mysql