wordpress/docker-compose.yml

36 lines
578 B
YAML

version: '3'
services:
nginx:
build: "./nginx/"
container_name: sd_wp_nginx
restart: always
links:
- php-fpm:wp
ports:
- "8085:80"
volumes:
- data:/sindominio/wordpress
php-fpm:
build: "./php-fpm/"
container_name: sd_wp_php
restart: always
links:
- mariadb:db
depends_on:
- mariadb
volumes:
- data:/sindominio/wordpress
mariadb:
build: "./mariadb/"
container_name: sd_wp_db
restart: always
volumes:
- db:/var/lib/mysql
volumes:
data:
db: