2016-05-05 13:45:53 +05:30
|
|
|
version: '2'
|
|
|
|
services:
|
2016-05-10 04:19:50 +05:30
|
|
|
app:
|
2016-05-31 23:35:18 +05:30
|
|
|
build: .
|
|
|
|
expose:
|
|
|
|
- "9000"
|
2016-05-10 04:19:50 +05:30
|
|
|
links:
|
|
|
|
- db
|
|
|
|
- redis
|
|
|
|
- rabbitmq
|
|
|
|
depends_on:
|
|
|
|
- app-console-account-queue
|
2016-05-31 23:35:18 +05:30
|
|
|
volumes:
|
|
|
|
- ./:/var/www/html/
|
|
|
|
env_file: .env
|
2016-05-10 04:19:50 +05:30
|
|
|
environment:
|
|
|
|
ENABLE_ENV_FILE: 1
|
|
|
|
ENABLE_LOCALCONF: 1
|
|
|
|
|
2016-05-05 13:45:53 +05:30
|
|
|
web:
|
|
|
|
build: ./docker/nginx
|
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
links:
|
|
|
|
- app
|
|
|
|
volumes_from:
|
|
|
|
- app
|
2016-05-02 13:31:38 +05:30
|
|
|
|
2016-05-05 13:45:53 +05:30
|
|
|
node-dev-server:
|
|
|
|
build: ./frontend
|
|
|
|
ports:
|
|
|
|
- "8080:8080"
|
|
|
|
volumes:
|
|
|
|
- ./frontend/:/usr/src/app/
|
|
|
|
environment:
|
|
|
|
DOCKERIZED: "true"
|
|
|
|
|
2016-05-10 04:19:50 +05:30
|
|
|
app-console-account-queue:
|
|
|
|
build: .
|
|
|
|
volumes:
|
|
|
|
- ./:/var/www/html/
|
|
|
|
command: ./docker/wait-for-it.sh rabbitmq:5672 -- ./yii account-queue
|
|
|
|
links:
|
|
|
|
- db
|
|
|
|
- redis
|
|
|
|
- rabbitmq
|
|
|
|
|
2016-05-05 13:45:53 +05:30
|
|
|
db:
|
2016-05-10 04:19:50 +05:30
|
|
|
build: ./docker/mariadb
|
2016-05-05 13:45:53 +05:30
|
|
|
|
|
|
|
redis:
|
|
|
|
image: redis:3.0
|
|
|
|
|
|
|
|
rabbitmq:
|
2016-05-10 04:19:50 +05:30
|
|
|
build: ./docker/rabbitmq
|
|
|
|
ports:
|
|
|
|
- "15672:15672"
|
2016-05-13 01:58:23 +05:30
|
|
|
|
|
|
|
phpmyadmin:
|
|
|
|
build: ./docker/phpmyadmin
|
|
|
|
environment:
|
|
|
|
- PMA_ARBITRARY=1
|
|
|
|
- PMA_USER=root
|
|
|
|
- PMA_PASSWORD=
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- "8181:80"
|
|
|
|
links:
|
|
|
|
- db
|