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.
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.
#
DOCKER_INFLUXDB_INIT_MODE=setup
# Primary InfluxDB admin/superuser credentials
#
DOCKER_INFLUXDB_INIT_USERNAME=xxxxxx
DOCKER_INFLUXDB_INIT_PASSWORD=xxxxxxx
# generated by openssl rand -hex 32
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=xxxxxxxxxx
# Primary InfluxDB organization & bucket definitions
#
DOCKER_INFLUXDB_INIT_ORG=xxxxx
DOCKER_INFLUXDB_INIT_BUCKET=xxxxx
# 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).
#
DOCKER_INFLUXDB_INIT_RETENTION=2w
# InfluxDB hostname; same as docker container name
#
DOCKER_INFLUXDB_INIT_HOST=influxdb
#2.1 create telegraf.conf docker run --rm telegraf telegraf config > telegraf.conf #2.2 edit telegraf.conf and choose what you need #2.3 cp telegraf.conf /docker_volumes/tig/telegraf/