surveil/docker-compose-production.yml
aviau e2be7bdeb4 Adapted surveil-os-interface to new API
Change-Id: Iae97566d0fbb89f69fca18079224854a523ff1d5
2015-07-30 11:49:39 -04:00

101 lines
2.4 KiB
YAML

ambassador:
image: cpuguy83/docker-grand-ambassador
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
command: "-name surveil_surveil_1 -name surveil_alignak_1"
surveil:
#build: .
image: surveil/surveil:0.13.1
links:
- mongo
- influxdb
- alignak
ports:
- "5311:5311"
environment:
PBR_VERSION: "PROD"
#SURVEIL_AUTH_BACKEND: "keystone"
#SURVEIL_KEYSTONE_HOST: "198.72.123.131"
#SURVEIL_KEYSTONE_AUTH_PROTOCOL: "http"
#SURVEIL_OS_USERNAME: "admin"
#SURVEIL_OS_PASSWORD: "password"
#SURVEIL_OS_TENANT_NAME: "admin"
surveilosinterface:
#build: .
image: surveil/surveil:0.13.1
links:
- surveil
environment:
PBR_VERSION: "PROD"
#SURVEIL_API_URL: "http://surveil:5311/v2"
#SURVEIL_AUTH_URL: "http://surveil:5311/v2/auth"
#SURVEIL_VERSION: "2_0"
#RABBIT_HOST: "192.168.49.239"
#RABBIT_PORT: 5672
#QUEUE: "test"
#RABBIT_USER: "admin"
#RABBIT_PASSWORD: "admin"
#SURVEIL_OS_AUTH_URL: "http://keystone:5000/v2.0"
#SURVEIL_OS_USERNAME: "admin"
#SURVEIL_OS_PASSWORD: "password"
#SURVEIL_TENANT_NAME: "admin"
#SURVEIL_DEFAULT_TAGS: "openstack-host"
#SURVEIL_NETWORK_LABEL: "surveil"
command: bash -c "cd /opt/surveil && ./setup.sh && /opt/surveil/env/bin/python setup.py develop && surveil-os-interface"
alignak:
#build: tools/docker/alignak_container/
image: surveil/surveil-alignak:0.13.1
links:
- mongo
- influxdb
ports:
- "7767:7767"
mongo:
image: mongo
ports:
- "27017:27017"
command:
"mongod --smallfiles"
# volumes:
# - ./container-data/mongodb:/data/db
influxdb:
image: surveil/influxdb:0.9.1
environment:
PRE_CREATE_DB: "db"
ports:
- "8083:8083"
- "8086:8086"
# volumes:
# - ./container-data/influxdb:/data
grafana:
image: surveil/grafana:2.1.0-pre1
environment:
GRAFANA_ROOT_URL: "%(protocol)s://%(domain)s:%(http_port)s/grafana/"
GRAFANA_AUTH_PROXY_ENABLED: true
GRAFANA_AUTH_PROXY_HEADER_NAME: grafana-user
links:
- influxdb
bansho:
image: surveil/bansho:0.14.0
environment:
BANSHO_BACKEND: "surveil"
#BANSHO_SURVEIL_URL: "http://surveil:5311/"
#BANSHO_AUTH_URL: "http://198.72.123.131:5000/v2.0/"
INFLUXDB_HOST: "influxdb"
INFLUXDB_PORT: "8086"
INFLUXDB_NAME: "db"
INFLUXDB_USER: "root"
INFLUXDB_PASS: "root"
ports:
- "80:8888"
links:
- surveil
- grafana