Docker containers: Nginx, Telegraf, InfluxDB, Chronograf, Kapacitor
Requires htpasswd
to add authentication to chronograf and make
Arch:
yay -S apache-tools
sudo pacman -S make
Debian:
sudo apt-get install apache2-utils make
bash scripts/ssh-or-conf_gen.sh telegraf "telegraf config" > /tmp/telegraf.conf
bash scripts/ssh-or-conf_gen.sh influxdb "influxd config" > /tmp/influxd.conf
bash scripts/ssh-or-conf_gen.sh kapacitor "kapacitord config" > /tmp/kapacitord.conf
git clone https://gitlab.com/qrsna/tick-stack-docker.git && cd tick-stack-docker
cp .env.default .env && vim .env # edit your variables
make
docker-compose up
docker-compose up -f telegraf.yml
sudo htpasswd volumes/config/htpasswd/chronograf.krsna.co.za another_user
bash scripts/ssh-or-conf_gen.sh kapacitor
bash scripts/ssh-or-conf_gen.sh influxdb
bash scripts/ssh-or-conf_gen.sh chronograf
bash scripts/ssh-or-conf_gen.sh telegraf
Delete configs and docker volumes
make destroy
-
Add SSL
https://tevinjeffrey.me/how-to-setup-nginx-proxy-and-lets-encrypt-with-docker/
https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion
Most High Bless ॐ हरे कृष्ण हरे कृष्ण कृष्ण कृष्ण हरे हरे हरे राम हरे राम राम राम हरे हरे