lumenInit/docker-compose.yml
2019-09-26 16:06:03 +02:00

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