You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wordpress/docker-compose.yml

36 lines
578 B

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: