surveil/docker-compose.yml
aviau d4d6054cd0 docker-compose.yml: Back to upstream MongoDB
Change-Id: I56d68a0acee198c300f426fbe932580b10b08906
2015-04-21 17:22:44 -04:00

47 lines
716 B
YAML

surveil:
build: .
links:
- mongo
- influxdb
- shinken
ports:
- "8080:8080"
volumes:
- ./surveil:/surveil/surveil
shinken:
build: tools/docker/shinken_container/
links:
- mongo
- influxdb
ports:
- "7767:7767"
mongo:
image: mongo
ports:
- "27017:27017"
command:
"mongod --smallfiles"
influxdb:
image: savoirfairelinux/influxdb
environment:
PRE_CREATE_DB: "db;grafana"
ports:
- "8083:8083"
- "8086:8086"
grafana:
image: savoirfairelinux/grafana
ports:
- "80:80"
links:
- influxdb
environment:
INFLUXDB_HOST: "influxdb"
INFLUXDB_PORT: "8086"
INFLUXDB_NAME: "db"
INFLUXDB_USER: "root"
INFLUXDB_PASS: "root"