docker-wordpress/docker-compose.yml

22 lines
338 B
YAML
Raw Permalink Normal View History

2021-03-23 08:55:49 +00:00
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