Skip to content

Commit

Permalink
Merge pull request #31 from IotStack-co/lew_certbot
Browse files Browse the repository at this point in the history
Traefik setup for using Let's encrypt
  • Loading branch information
shantanoo-desai authored Feb 14, 2021
2 parents 6861bfa + be6297b commit df63424
Show file tree
Hide file tree
Showing 15 changed files with 416 additions and 529 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
selfsigned/letsencrypt/acme.json
selfsigned/traefik/log/access.log
certbot/letsencrypt/acme.json
certbot/traefik/log/access.log
205 changes: 0 additions & 205 deletions certbot/00-install-certbot.sh

This file was deleted.

132 changes: 0 additions & 132 deletions certbot/01-generate-certs.sh

This file was deleted.

33 changes: 31 additions & 2 deletions certbot/certbot.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,31 @@
# VARIABLES WILL BE GENERATED AFTER EXECUTING:
# 01-generate-certs.sh SCRIPT
#InfluxDB Environment Variables
INFLUXDB_DB=edge
INFLUXDB_HTTP_AUTH_ENABLED=true

#INFLUXDB_HTTP_HTTPS_ENABLED=true
#INFLUXDB_HTTP_HTTPS_CERTIFICATE=/etc/ssl/influxdb/influx-server.crt
#INFLUXDB_HTTP_HTTPS_PRIVATE_KEY=/etc/ssl/influxdb/influx-server.key

INFLUXDB_ADMIN_USER=admin
INFLUXDB_ADMIN_PASSWORD=tiguitto

INFLUXDB_USER=tiguitto
INFLUXDB_USER_PASSWORD=tiguitto

# Gather Traefik Metrics via UDP since HTTPS/HTTP conflict
# Default UDP Port on 8089
INFLUXDB_UDP_ENABLED=true
INFLUXDB_UDP_DATABASE=traefik

# Grafana Environment Variables
GF_SECURITY_ADMIN_USER=admin
GF_SECURITY_ADMIN_PASSWORD=tiguitto
GF_SERVER_PROTOCOL=http
GF_SERVER_ROOT_URL=http://127.0.0.1:3000/grafana
GF_SERVER_SERVE_FROM_SUB_PATH=true
#GF_SERVER_CERT_FILE=/etc/ssl/certs/grafana-server.crt
#GF_SERVER_CERT_KEY=/etc/ssl/certs/grafana-server.key

# Telegraf Environment Variables
TG_MOSQUITTO_USERNAME=subclient
TG_MOSQUITTO_PASSWORD=tiguitto
Loading

0 comments on commit df63424

Please sign in to comment.