mirror of
https://github.com/cupcakearmy/docker-wordpress.git
synced 2024-12-23 00:36:30 +00:00
22 lines
338 B
YAML
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
|