surveil/docker-compose-production.yml
aviau afd447d85f Dropped docker-compose heritage
Change-Id: Ic6bf277ef5f04f006abee15533beb5f7f6073ce0
2015-05-06 14:54:46 -04:00

63 lines
1.1 KiB
YAML

surveil:
#build: .
image: savoirfairelinux/surveil:0.1.0
links:
- mongo
- influxdb
- shinken
ports:
- "8080:8080"
environment:
PBR_VERSION: "PROD"
shinken:
#build: tools/docker/shinken_container/
image: savoirfairelinux/surveil-shinken:0.1.0
links:
- mongo
- influxdb
ports:
- "7767:7767"
mongo:
image: mongo
ports:
- "27017:27017"
command:
"mongod --smallfiles"
volumes:
- ./container-data/mongodb:/data/db
influxdb:
image: savoirfairelinux/influxdb
environment:
PRE_CREATE_DB: "db"
ports:
- "8083:8083"
- "8086:8086"
volumes:
- ./container-data/influxdb:/data
grafana:
image: savoirfairelinux/grafana
environment:
INFLUXDB_HOST: "influxdb"
INFLUXDB_PORT: "8086"
INFLUXDB_NAME: "db"
INFLUXDB_USER: "root"
INFLUXDB_PASS: "root"
ports:
- "8888:80"
links:
- influxdb
bansho:
image: savoirfairelinux/bansho:0.2.0
environment:
BANSHO_BACKEND: "surveil"
BANSHO_SURVEIL_URL: "http://surveil:8080/"
ports:
- "80:8888"
links:
- surveil