surveil/docker-compose.yml
Frédéric Vachon 4c4eda9ee7 Drastically reduces mongo container size
Change-Id: I2834ea33c39c3c685d131b029c5b59a24761eeec
2015-04-21 17:01:21 -04:00

47 lines
720 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"
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"