Compare commits

..
Author SHA1 Message Date
bryanpedini e2d6b0bfd6 removed http router, https redirect handled by traefik 2026-10-14 21:21:45 +02:00
4 changed files with 8 additions and 16 deletions

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) 2023 Bryan Joshua Pedini Copyright (c) 2022 Bryan Joshua Pedini
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal
+2 -1
View File
@@ -1 +1,2 @@
# InfluxDB Deployment # Base App Deployment
This is the base on which (almost) every deployment is sort-of-based on.
+1 -6
View File
@@ -1,8 +1,6 @@
--- ---
services: services:
influxdb: app:
image: influxdb:${INFLUX_VERSION}
command: --reporting-disabled
restart: unless-stopped restart: unless-stopped
labels: labels:
### Section Træfik ### Section Træfik
@@ -26,9 +24,6 @@ services:
- diun.exclude_tags=${DIUN_EXCLUDE} - diun.exclude_tags=${DIUN_EXCLUDE}
networks: networks:
- traefik - traefik
volumes:
- ${INFLUX_DATA}/data:/var/lib/influxdb2
#- ${INFLUX_DATA}/config/config.yml:/etc/influxdb2/config.yml
networks: networks:
traefik: traefik:
+4 -8
View File
@@ -1,10 +1,10 @@
# Træfik # Træfik
TRAEFIK_ENABLED=true TRAEFIK_ENABLED=true
TRAEFIK_NETWORK=traefik TRAEFIK_NETWORK=traefik
TRAEFIK_ROUTER=influx_example_com TRAEFIK_ROUTER=app_example_com
TRAEFIK_SERVICE=influx_example_com TRAEFIK_SERVICE=app_example_com
TRAEFIK_SERVICE_PORT=8086 TRAEFIK_SERVICE_PORT=80
TRAEFIK_MATCHRULE=Host(`influx.example.com`) TRAEFIK_MATCHRULE=Host(`app.example.com`)
TRAEFIK_TLSENABLED=true TRAEFIK_TLSENABLED=true
TRAEFIK_CERTRESOLVER=letsencrypt TRAEFIK_CERTRESOLVER=letsencrypt
TRAEFIK_MIDDLEWARES=hsts TRAEFIK_MIDDLEWARES=hsts
@@ -15,7 +15,3 @@ DIUN_WATCHREPO=true
DIUN_SORTALGO=semver DIUN_SORTALGO=semver
DIUN_INCLUDE= DIUN_INCLUDE=
DIUN_EXCLUDE= DIUN_EXCLUDE=
# InfluxDB
INFLUX_VERSION=2.6.1-alpine
INFLUX_DATA=./data/influxdb