surveil/docker-compose.yml
aviau 0809e0d8fb Added docker-compose production environment
Change-Id: I3c57a3b6933e98fe20cb10e65debb6c724e48445
2015-04-23 13:05:21 -04:00

63 lines
1.0 KiB
YAML

surveil:
extends:
file: docker-compose-common.yml
service: surveil
links:
- mongo
- influxdb
- shinken
ports:
- "8080:8080"
environment:
PBR_VERSION: "DEV"
volumes:
- ./surveil:/surveil/surveil
command: bash -c "cd /surveil/ && python setup.py develop && ((sleep 40 && surveil-init) &) && sleep 20 && surveil-api --reload"
shinken:
extends:
file: docker-compose-common.yml
service: shinken
links:
- mongo
- influxdb
ports:
- "7767:7767"
mongo:
extends:
file: docker-compose-common.yml
service: mongo
ports:
- "27017:27017"
command:
"mongod --nojournal --smallfiles"
influxdb:
extends:
file: docker-compose-common.yml
service: influxdb
environment:
PRE_CREATE_DB: "db"
ports:
- "8083:8083"
- "8086:8086"
grafana:
extends:
file: docker-compose-common.yml
service: grafana
ports:
- "80:80"
links:
- influxdb
bansho:
extends:
file: docker-compose-common.yml
service: bansho
ports:
- "8888:8888"
links:
- surveil