informatica:linux:grafana
This is an old revision of the document!
Gráficas con influxdb y grafana
Usaremos influxdb como base de datos y grafana para hacer las gráficas
INVESTIGAR: Tenemos que crear el directorio var_grafana con permisos que pueda escribir el usuario con id 472. Por ejemplo con permisos 777
docker-compose.yml
version: '2' services: influxdb: image: "influxdb" container_name: "influxdb" volumes: - ./var_influxdb:/var/lib/influxdb # - ./influxdb.conf:/etc/influxdb/influxdb.conf:ro restart: always environment: - INFLUXDB_DB=avantticFlux - INFLUXDB_ADMIN_ENABLED=true - INFLUXDB_ADMIN_USER=admin - INFLUXDB_ADMIN_PASSWORD=4v4nt1c - INFLUXDB_USER=nagflux - INFLUXDB_USER_PASSWORD=4v4nt1c ports: - 8086:8086 grafana: image: "grafana/grafana" container_name: "grafana" # user: "472" links: - "influxdb:influxdb" volumes: - ./var_grafana:/var/lib/grafana # - ./ldap.toml:/etc/grafana/ldap.toml environment: - GF_SECURITY_ADMIN_PASSWORD=secret # - GF_AUTH_LDAP_ENABLED=true # - GF_AUTH_LDAP_CONFIG_FILE=/etc/grafana/ldap.toml - GF_SERVER_PROTOCOL=http ports: - 3000:3000 restart: always
informatica/linux/grafana.1552479454.txt.gz · Last modified: 2019/03/13 12:17 by jose