mirror of
https://git.sindominio.net/estibadores/wordpress.git
synced 2024-11-10 05:11:07 +01:00
36 lines
578 B
YAML
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:
|