I know a TIG stack has been requested before and deemed low priority due to it having an official image from the developers, but I’d like to request a grafana image even if by itself.
The problem with the official grafana image is that managing persistent data is not really straight forward. Permissions are all messed up and either keep the container from starting or keeps data from being accessible from outside the container.
A linuxserver image does not suffer these problems, so it would be sweet to have one.
well, it took some time to create complet TIG container but know it is working ok.
here is part of my compose for TIG
# - 3000:3000
PID is user who member of docker group and can manage docker.
GID is docker group
I have not problem with permissions. All file in
/docker_volumes/tig/grafana are accesible by mentioned user.
Where is the influxdb definition? This compose file says it depends on it, but it’s not included here.
ok, I did forgot to remove those lines, I did think that you are trying to run grafana alone.
here is my complet TIG compose file
# - "8086:8086"
# - 3000:3000
all services are contented to “kontainers” network which I am using for all containers, also swag container is there. I did configure swag so I can access influx and grafana over subdomain.
here is env file
# Automated setup will not run if an existing boltdb file is found at the configured path.
# This behavior allows for the InfluxDB container to reboot post-setup without encountering "DB is already set up" errors.
# Primary InfluxDB admin/superuser credentials
# generated by openssl rand -hex 32
# Primary InfluxDB organization & bucket definitions
# Primary InfluxDB bucket retention period
# NOTE: Valid units are nanoseconds (ns), microseconds(us), milliseconds (ms)
# seconds (s), minutes (m), hours (h), days (d), and weeks (w).
# InfluxDB hostname; same as docker container name
steps to start container
#1 create volume directiories:
mkdir -p /docker_volumes/tig/influxdb
mkdir -p /docker_volumes/tig/telegraf
mkdir -p /docker_volumes/tig/grafana
#2.1 create telegraf.conf
docker run --rm telegraf telegraf config > telegraf.conf
#2.2 edit telegraf.conf and choose what you need
cp telegraf.conf /docker_volumes/tig/telegraf/
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.