surveil/fig.yml
Frédéric Vachon fc99a34956 Make up now starts a development environment
Change-Id: I96549e4a6af70c9f90d3bf3d375f9ed59e636b1e
2015-04-03 15:34:55 -04:00

46 lines
705 B
YAML

surveil:
build: .
links:
- mongo
- influxdb
- shinken
ports:
- "8080:8080"
volumes:
- ./surveil/:/surveil/
shinken:
build: tools/docker/shinken_container/
links:
- mongo
- influxdb
ports:
- "7767:7767"
mongo:
image: mongo
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"