wordpress/docker-compose.yml

36 lines
578 B
YAML
Raw Normal View History

2020-05-21 12:49:20 +02:00
version: '3'
services:
nginx:
build: "./nginx/"
container_name: sd_wp_nginx
restart: always
links:
- php-fpm:wp
ports:
- "8085:80"
2020-05-21 12:49:20 +02:00
volumes:
- data:/sindominio/wordpress
2020-05-21 12:49:20 +02:00
php-fpm:
build: "./php-fpm/"
container_name: sd_wp_php
restart: always
links:
- mariadb:db
depends_on:
- mariadb
volumes:
- data:/sindominio/wordpress
2020-05-21 12:49:20 +02:00
mariadb:
build: "./mariadb/"
container_name: sd_wp_db
restart: always
volumes:
- db:/var/lib/mysql
2020-05-21 12:49:20 +02:00
volumes:
data:
db: