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:
|
2020-05-21 19:01:37 +02:00
|
|
|
- "8085:80"
|
2020-05-21 12:49:20 +02:00
|
|
|
volumes:
|
2020-05-21 19:01:37 +02:00
|
|
|
- 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:
|
2020-05-21 19:01:37 +02:00
|
|
|
- data:/sindominio/wordpress
|
2020-05-21 12:49:20 +02:00
|
|
|
|
|
|
|
mariadb:
|
|
|
|
build: "./mariadb/"
|
|
|
|
container_name: sd_wp_db
|
|
|
|
restart: always
|
|
|
|
volumes:
|
2020-05-21 19:01:37 +02:00
|
|
|
- db:/var/lib/mysql
|
2020-05-21 12:49:20 +02:00
|
|
|
volumes:
|
2020-05-21 19:01:37 +02:00
|
|
|
data:
|
|
|
|
db:
|