jkehres / docker-compose-influxdb-grafana Goto Github PK
View Code? Open in Web Editor NEWMulti-container Docker app with InfluxDB, Chronograf, and Grafana
License: MIT License
Multi-container Docker app with InfluxDB, Chronograf, and Grafana
License: MIT License
Hi,
I‘m facing some problems using the project.
I can‘t exec a shell into the container.
root@host $ ps | grep influxdb
e109955c26b6 grafana/grafana:latest "/run.sh" 6 days ago Up 6 days 0.0.0.0:3000->3000/tcp, :::3000->3000/tcp influxdb-grafana-grafana-1
b72fcc84424d influxdb:latest "/entrypoint.sh infl…" 6 days ago Up 6 days 0.0.0.0:8086->8086/tcp, :::8086->8086/tcp influxdb-grafana-influxdb-1
root@host $ docker-compose exec e109955c26b6 /bin/sh
service "e109955c26b6" is not running container #1
The InfluxDB and also the grafana server are both accessible over network.
I have modified the docker-compose file to fix the InfluxDB storage folder to the following setting:
volumes:
������ - ./influxdb-storage:/var/lib/influxdb
But the folder is empty, as before. Also after I have removed the docker container and rebuild it.
This is the reason I try to exec a shell into the container. To debug why the folder is empty. For the grafana storage folder the data is available.
I also tried to execute /bin/bash and other binaries without success.
And I‘m facing the same problem for the grafana container.
The logs do not show up any error message.
I‘m running the container on a Orange Pi One running the latest armbian.
Maybe I can get some support here?
Thank you!
I can't connect to the webinterface of Influxdb 2.0.
It is working outside of the docker
When using latest influxdb container (version 2), influxdb autoconfiguration doesn't work (username, database etc.).
This is because influxDB changed their format: https://hub.docker.com/_/influxdb
Automated Setup
The InfluxDB image contains some extra functionality to automatically bootstrap the system. This functionality is enabled by setting the DOCKER_INFLUXDB_INIT_MODE environment variable to the value setup when running the container. Additional environment variables are used to configure the setup logic:
DOCKER_INFLUXDB_INIT_USERNAME: The username to set for the system's initial super-user (Required).
DOCKER_INFLUXDB_INIT_PASSWORD: The password to set for the system's inital super-user (Required).
DOCKER_INFLUXDB_INIT_ORG: The name to set for the system's initial organization (Required).
DOCKER_INFLUXDB_INIT_BUCKET: The name to set for the system's initial bucket (Required).
Updating the docker-compose file to stick to 1.8 version as a short-term workaround. Will address version 2 format later.
I made the following change to the config:
--- a/monitoring/docker-compose-influxdb-grafana/docker-compose.yml
+++ b/monitoring/docker-compose-influxdb-grafana/docker-compose.yml
@@ -13,12 +13,13 @@ services:
chronograf:
image: chronograf:latest
ports:
- - '127.0.0.1:8888:8888'
+ - '8888:8888'
But I am unable to view chronograph on the public interface, all I get is an empty page.
Influxdb volume should be mounted to /var/lib/influxdb2 instead of /var/lib/influxdb
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.