Commit 7b313974 by amir

updating

parent abd3e7c8
Showing with 41 additions and 18 deletions
influxdb:
version: '2'
services:
influxdb:
environment:
ADMIN_USER: "root"
INFLUXDB_INIT_PWD: "giptmgr"
PRE_CREATE_DB: mcx_db"
GRAPHITE_DB: "my_db"
GRAPHITE_BINDING: ':2015'
GRAPHITE_PROTOCOL: "tcp"
# GRAPHITE_template: "tag1.tag2.tag3.measurement*"
image: tutum/influxdb
INFLUXDB_GRAPHITE_ENABLED: 'true'
INFLUXDB_DB: "mcx_db"
INFLUXDB_USER: "root"
INFLUXDB_USER_PASSWORD: "giptmgr"
# ADMIN_USER: "root"
# INFLUXDB_INIT_PWD: "giptmgr"
# PRE_CREATE_DB: "mcx_db"
# GRAPHITE_DB: "my_db"
# GRAPHITE_BINDING: ':2025'
# GRAPHITE_PROTOCOL: "tcp"
image: influxdb
ports:
- "8083:8083"
- "8086:8086"
- "2015:2015"
- "2003:2003"
volumes:
- /opt/data/influxdb:/data
log_driver: "syslog"
log_opt:
syslog-address: "tcp://172.16.1.244:518"
syslog-facility: "daemon"
syslog-format: "rfc5424"
grafana:
# log_driver: "syslog"
# log_opt:
# syslog-address: "tcp://172.16.1.244:518"
# syslog-facility: "daemon"
# syslog-format: "rfc5424"
networks:
- backend
grafana:
environment:
GF_INSTALL_PLUGINS: "grafana-piechart-panel,grafana-worldmap-panel"
GF_INSTALL_PLUGINS: "grafana-piechart-panel,grafana-worldmap-panel,briangann-gauge-panel"
HTTP_USER: "root"
HTTP_PASS: "giptmgrr"
INFLUXDB_PROTO: http
INFLUXDB_HOST: influxdb
INFLUXDB_PORT: 8086
INFLUXDB_NAME: "mcx_db"
INFLUXDB_USER: "root"
INFLUXDB_PASS: "giptmgrr"
image: grafana/grafana
ports:
- "3000:3000"
- "8040:80"
depends_on:
- influxdb
volumes:
- /opt/data/grafana:/var/lib/grafana
#user/pass = admin/admin
#user/pass = admin/admin
networks:
- backend
networks:
backend:
driver: bridge
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment