surveil/docker-compose.yml
aviau f37d87367a Surveil container: don't use supervisor
Change-Id: I640efc6ee192ad0dbb497b9256d169b796b306f5
2015-04-15 15:33:37 -04:00

46 lines
715 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:2.6
ports:
- "27017:27017"
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_GRAFANADB: "grafana"
INFLUXDB_USER: "root"
INFLUXDB_PASS: "root"