2016-08-02 17:32:36 +05:30
|
|
|
version: '2'
|
|
|
|
services:
|
2017-09-03 02:39:11 +05:30
|
|
|
web:
|
|
|
|
image: registry.ely.by/elyby/skinsystem:latest
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
links:
|
|
|
|
- redis
|
|
|
|
volumes:
|
|
|
|
- ./data/capes:/data/capes
|
2016-08-02 17:32:36 +05:30
|
|
|
|
2017-09-03 02:39:11 +05:30
|
|
|
worker:
|
|
|
|
image: registry.ely.by/elyby/skinsystem:latest
|
|
|
|
restart: always
|
|
|
|
links:
|
|
|
|
- redis
|
|
|
|
- rabbitmq
|
|
|
|
command: ["amqp-worker"]
|
2016-09-15 03:52:57 +05:30
|
|
|
|
2017-09-03 02:39:11 +05:30
|
|
|
redis:
|
|
|
|
image: redis:3.2-32bit # 32-bit version used to decrease memory usage
|
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- ./data/redis:/data
|
|
|
|
|
|
|
|
rabbitmq:
|
2017-09-03 23:58:17 +05:30
|
|
|
image: rabbitmq:3.6-alpine
|
2017-09-03 02:39:11 +05:30
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
RABBITMQ_DEFAULT_USER: "ely-skinsystem-app"
|
|
|
|
RABBITMQ_DEFAULT_PASS: "ely-skinsystem-app-password"
|
|
|
|
RABBITMQ_DEFAULT_VHOST: "/ely"
|