2019-09-26 12:00:05 +00:00
|
|
|
version: '3.2'
|
|
|
|
services:
|
2019-09-26 14:06:03 +00:00
|
|
|
queueworker:
|
|
|
|
build:
|
|
|
|
context: ./
|
|
|
|
dockerfile: resources/docker/Dockerfile-queueworker
|
|
|
|
volumes:
|
|
|
|
- ./:/app
|
|
|
|
links:
|
|
|
|
- mariadb
|
2019-09-26 12:00:05 +00:00
|
|
|
php:
|
|
|
|
build:
|
|
|
|
context: ./
|
2019-09-26 14:06:03 +00:00
|
|
|
dockerfile: resources/docker/Dockerfile-fpm
|
2019-09-26 12:00:05 +00:00
|
|
|
volumes:
|
|
|
|
- ./:/app
|
|
|
|
links:
|
|
|
|
- mariadb
|
|
|
|
nginx:
|
|
|
|
build:
|
|
|
|
context: ./
|
2019-09-26 14:06:03 +00:00
|
|
|
dockerfile: resources/docker/Dockerfile-nginx
|
2019-09-26 12:00:05 +00:00
|
|
|
volumes:
|
|
|
|
- ./:/app
|
2019-09-26 14:06:03 +00:00
|
|
|
- ./resources/docker/nginx.conf:/etc/nginx/conf.d/default.conf
|
2019-09-26 12:00:05 +00:00
|
|
|
ports:
|
|
|
|
- 8083:80
|
|
|
|
links:
|
|
|
|
- php
|
|
|
|
mariadb:
|
|
|
|
image: mariadb:10.4.4
|
|
|
|
ports:
|
|
|
|
- 3306:3306
|
|
|
|
environment:
|
|
|
|
MYSQL_ROOT_PASSWORD: example
|
|
|
|
MYSQL_DATABASE: dev
|
|
|
|
MYSQL_USER: dev
|
|
|
|
MYSQL_PASSWORD: dev
|