Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@elecnix
Last active March 27, 2017 00:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elecnix/51637af8e7bea6d4faf8471397e4b0e5 to your computer and use it in GitHub Desktop.
Save elecnix/51637af8e7bea6d4faf8471397e4b0e5 to your computer and use it in GitHub Desktop.
ErabliCompose
# Ce fichier sert à exécuter un collecteur, un dashboard, et une base de données InfluxDB.
#
# 1. git clone https://gist.github.com/51637af8e7bea6d4faf8471397e4b0e5.git erabliere
# 2. cd erabliere
# 3. git clone https://github.com/elecnix/ErabliCollecteur.git
# 4. git clone https://github.com/elecnix/ErabliDash.git
# 5. docker-compose up -d
# 6. Ouvrir http://localhost:3000/ pour ErabliDash
# 7. Ouvrir http://localhost:3001/ pour Grafana
#
version: '2'
services:
collecteur:
build: "ErabliCollecteur"
ports:
- "8150:8150"
volumes:
- "/home/nmarchildon/ErabliCollecteur/data:/data"
dash:
build:
context: ErabliDash
dockerfile: docker-dash/Dockerfile
ports:
- "3000:3000"
volumes:
- erablidash:/data
links:
- collecteur
influxdb:
image: tutum/influxdb
ports:
- "8083:8083"
- "8086:8086"
grafana:
image: grafana/grafana
volumes:
- grafana:/var/lib/grafana
ports:
- "3001:3000"
links:
- influxdb
volumes:
erablidash: {}
grafana: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment