mirror of
https://github.com/elyby/chrly.git
synced 2024-11-26 16:51:59 +05:30
34 lines
723 B
YAML
34 lines
723 B
YAML
version: '2'
|
|
services:
|
|
web:
|
|
image: registry.ely.by/elyby/skinsystem:latest
|
|
restart: always
|
|
ports:
|
|
- "80:80"
|
|
links:
|
|
- redis
|
|
volumes:
|
|
- ./data/capes:/data/capes
|
|
|
|
worker:
|
|
image: registry.ely.by/elyby/skinsystem:latest
|
|
restart: always
|
|
links:
|
|
- redis
|
|
- rabbitmq
|
|
command: ["amqp-worker"]
|
|
|
|
redis:
|
|
image: redis:3.2-32bit # 32-bit version used to decrease memory usage
|
|
restart: always
|
|
volumes:
|
|
- ./data/redis:/data
|
|
|
|
rabbitmq:
|
|
image: rabbitmq:3.6-alpine
|
|
restart: always
|
|
environment:
|
|
RABBITMQ_DEFAULT_USER: "ely-skinsystem-app"
|
|
RABBITMQ_DEFAULT_PASS: "ely-skinsystem-app-password"
|
|
RABBITMQ_DEFAULT_VHOST: "/ely"
|