2016-10-20 14:45:23 +02:00
|
|
|
mongo:
|
2017-03-09 11:02:04 +01:00
|
|
|
image: mongo:3.4.2
|
2016-10-20 14:45:23 +02:00
|
|
|
container_name: mongo
|
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- /data/storage/db:/data/db
|
2017-03-10 11:16:28 +01:00
|
|
|
- /data/storage/db-bak:/data/db-bak # for backing up stuff etc.
|
2016-10-20 14:45:23 +02:00
|
|
|
ports:
|
|
|
|
- "127.0.0.1:27017:27017"
|
|
|
|
redis:
|
2017-03-09 11:02:04 +01:00
|
|
|
image: redis:3.2.8
|
2016-10-20 14:45:23 +02:00
|
|
|
container_name: redis
|
|
|
|
restart: always
|
|
|
|
blender_cloud:
|
2017-03-08 17:18:52 +01:00
|
|
|
image: armadillica/blender_cloud:latest-py36
|
2016-10-20 14:45:23 +02:00
|
|
|
container_name: blender_cloud
|
|
|
|
restart: always
|
|
|
|
environment:
|
2016-10-21 11:16:06 +02:00
|
|
|
VIRTUAL_HOST: http://cloudapi.blender.org/*,https://cloudapi.blender.org/*,http://cloud.blender.org/*,https://cloud.blender.org/*,http://pillar-web/*
|
|
|
|
VIRTUAL_HOST_WEIGHT: 10
|
2016-10-20 14:45:23 +02:00
|
|
|
FORCE_SSL: "true"
|
|
|
|
volumes:
|
2017-03-08 12:38:00 +01:00
|
|
|
- /data/git:/data/git:ro
|
2016-10-20 14:45:23 +02:00
|
|
|
- /data/config:/data/config:ro
|
|
|
|
- /data/storage/pillar:/data/storage/pillar
|
|
|
|
links:
|
|
|
|
- mongo
|
|
|
|
- redis
|
2016-10-21 11:16:06 +02:00
|
|
|
# notifserv:
|
|
|
|
# container_name: notifserv
|
|
|
|
# image: armadillica/pillar-notifserv:cd8fa678436563ac3b800b2721e36830c32e4656
|
|
|
|
# restart: always
|
|
|
|
# links:
|
|
|
|
# - mongo
|
|
|
|
# environment:
|
|
|
|
# VIRTUAL_HOST: https://cloud.blender.org/notifications*,http://pillar-web/notifications*
|
|
|
|
# VIRTUAL_HOST_WEIGHT: 20
|
|
|
|
# FORCE_SSL: true
|
2017-01-24 16:02:31 +01:00
|
|
|
grafista:
|
2017-03-09 11:02:04 +01:00
|
|
|
image: armadillica/grafista:latest
|
2017-01-24 16:02:31 +01:00
|
|
|
container_name: grafista
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
VIRTUAL_HOST: http://cloud.blender.org/stats/*,https://cloud.blender.org/stats/*,http://blender-cloud/stats/*
|
2017-01-26 16:46:33 +01:00
|
|
|
VIRTUAL_HOST_WEIGHT: 20
|
2017-01-24 16:02:31 +01:00
|
|
|
FORCE_SSL: "true"
|
|
|
|
volumes:
|
|
|
|
- /data/git/grafista:/data/git/grafista:ro
|
|
|
|
- /data/storage/grafista:/data/storage
|
2016-10-20 14:45:23 +02:00
|
|
|
haproxy:
|
2017-03-10 11:16:28 +01:00
|
|
|
image: dockercloud/haproxy:1.5.3
|
2016-10-20 14:45:23 +02:00
|
|
|
container_name: haproxy
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- "443:443"
|
|
|
|
- "80:80"
|
|
|
|
environment:
|
|
|
|
- CERT_FOLDER=/certs/
|
|
|
|
- TIMEOUT=connect 5s, client 5m, server 10m
|
|
|
|
links:
|
|
|
|
- blender_cloud
|
2017-01-24 16:02:31 +01:00
|
|
|
- grafista
|
2016-10-21 11:16:06 +02:00
|
|
|
# - notifserv
|
2016-10-20 14:45:23 +02:00
|
|
|
volumes:
|
|
|
|
- '/data/certs:/certs'
|