Commit 7b313974 by amir

updating

parent abd3e7c8
Showing with 41 additions and 18 deletions
influxdb: version: '2'
services:
influxdb:
environment: environment:
ADMIN_USER: "root" INFLUXDB_GRAPHITE_ENABLED: 'true'
INFLUXDB_INIT_PWD: "giptmgr" INFLUXDB_DB: "mcx_db"
PRE_CREATE_DB: mcx_db" INFLUXDB_USER: "root"
GRAPHITE_DB: "my_db" INFLUXDB_USER_PASSWORD: "giptmgr"
GRAPHITE_BINDING: ':2015' # ADMIN_USER: "root"
GRAPHITE_PROTOCOL: "tcp" # INFLUXDB_INIT_PWD: "giptmgr"
# GRAPHITE_template: "tag1.tag2.tag3.measurement*" # PRE_CREATE_DB: "mcx_db"
image: tutum/influxdb # GRAPHITE_DB: "my_db"
# GRAPHITE_BINDING: ':2025'
# GRAPHITE_PROTOCOL: "tcp"
image: influxdb
ports: ports:
- "8083:8083" - "8083:8083"
- "8086:8086" - "8086:8086"
- "2015:2015" - "2003:2003"
volumes: volumes:
- /opt/data/influxdb:/data - /opt/data/influxdb:/data
log_driver: "syslog" # log_driver: "syslog"
log_opt: # log_opt:
syslog-address: "tcp://172.16.1.244:518" # syslog-address: "tcp://172.16.1.244:518"
syslog-facility: "daemon" # syslog-facility: "daemon"
syslog-format: "rfc5424" # syslog-format: "rfc5424"
grafana: networks:
- backend
grafana:
environment: 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 image: grafana/grafana
ports: ports:
- "3000:3000" - "3000:3000"
- "8040:80"
depends_on:
- influxdb
volumes: volumes:
- /opt/data/grafana:/var/lib/grafana - /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