2016-05-05 13:45:53 +05:30
|
|
|
version: '2'
|
|
|
|
services:
|
2016-05-10 04:19:50 +05:30
|
|
|
app:
|
2016-10-02 03:50:40 +05:30
|
|
|
build:
|
|
|
|
dockerfile: Dockerfile-dev
|
|
|
|
context: .
|
2016-09-16 03:58:28 +05:30
|
|
|
depends_on:
|
2016-05-10 04:19:50 +05:30
|
|
|
- db
|
|
|
|
- redis
|
|
|
|
- rabbitmq
|
2016-05-31 23:35:18 +05:30
|
|
|
volumes:
|
|
|
|
- ./:/var/www/html/
|
|
|
|
env_file: .env
|
2016-05-10 04:19:50 +05:30
|
|
|
|
2016-05-05 13:45:53 +05:30
|
|
|
web:
|
|
|
|
build: ./docker/nginx
|
|
|
|
volumes_from:
|
|
|
|
- app
|
2016-09-16 03:58:28 +05:30
|
|
|
links:
|
|
|
|
- app:php
|
|
|
|
env_file: .env
|
2016-09-15 21:25:30 +05:30
|
|
|
networks:
|
|
|
|
- default
|
|
|
|
- nginx-proxy
|
2016-05-02 13:31:38 +05:30
|
|
|
|
2016-05-05 13:45:53 +05:30
|
|
|
db:
|
2016-05-10 04:19:50 +05:30
|
|
|
build: ./docker/mariadb
|
2016-09-16 03:58:28 +05:30
|
|
|
env_file: .env
|
2016-10-02 03:50:40 +05:30
|
|
|
volumes:
|
|
|
|
- ./data/mysql:/var/lib/mysql
|
2016-05-05 13:45:53 +05:30
|
|
|
|
|
|
|
redis:
|
2016-10-02 03:50:40 +05:30
|
|
|
image: redis:3.0-alpine
|
|
|
|
volumes:
|
|
|
|
- ./data/redis:/data
|
2016-05-05 13:45:53 +05:30
|
|
|
|
|
|
|
rabbitmq:
|
2016-10-02 03:50:40 +05:30
|
|
|
image: rabbitmq:3.6-management
|
2016-09-16 03:58:28 +05:30
|
|
|
env_file: .env
|
2016-10-02 03:50:40 +05:30
|
|
|
environment:
|
|
|
|
- VIRTUAL_HOST=rabbitmq.account.ely.by.local
|
|
|
|
- VIRTUAL_PORT=15672
|
|
|
|
networks:
|
|
|
|
- default
|
|
|
|
- nginx-proxy
|
2016-05-13 01:58:23 +05:30
|
|
|
|
|
|
|
phpmyadmin:
|
|
|
|
build: ./docker/phpmyadmin
|
|
|
|
environment:
|
|
|
|
- PMA_ARBITRARY=1
|
|
|
|
- PMA_USER=root
|
|
|
|
- PMA_PASSWORD=
|
2016-10-02 03:50:40 +05:30
|
|
|
- VIRTUAL_HOST=pma.account.ely.by.local
|
2016-09-16 03:58:28 +05:30
|
|
|
depends_on:
|
2016-05-13 01:58:23 +05:30
|
|
|
- db
|
2016-10-02 03:50:40 +05:30
|
|
|
networks:
|
|
|
|
- default
|
|
|
|
- nginx-proxy
|
2016-09-15 21:25:30 +05:30
|
|
|
|
|
|
|
networks:
|
|
|
|
nginx-proxy:
|
|
|
|
external:
|
|
|
|
name: nginx-proxy
|