38 lines
755 B
YAML
38 lines
755 B
YAML
version: '3.2'
|
|
services:
|
|
queueworker:
|
|
build:
|
|
context: ./
|
|
dockerfile: resources/docker/Dockerfile-queueworker
|
|
volumes:
|
|
- ./:/app
|
|
links:
|
|
- mariadb
|
|
php:
|
|
build:
|
|
context: ./
|
|
dockerfile: resources/docker/Dockerfile-fpm
|
|
volumes:
|
|
- ./:/app
|
|
links:
|
|
- mariadb
|
|
nginx:
|
|
build:
|
|
context: ./
|
|
dockerfile: resources/docker/Dockerfile-nginx
|
|
volumes:
|
|
- ./:/app
|
|
- ./resources/docker/nginx.conf:/etc/nginx/conf.d/default.conf
|
|
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
|