inital upload

This commit is contained in:
Sven Holz
2022-06-13 23:35:46 +02:00
commit a17b5e9262
12 changed files with 677 additions and 0 deletions

33
traefik/dynamic_conf.yml Normal file
View File

@@ -0,0 +1,33 @@
tls:
certificates:
- certFile: /certs/cert.crt
keyFile: /certs/privkey.key
stores:
- default
options:
default:
minVersion: VersionTLS12
cipherSuites:
- TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
- TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
- TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305
- TLS_AES_128_GCM_SHA256
- TLS_AES_256_GCM_SHA384
- TLS_CHACHA20_POLY1305_SHA256
curvePreferences:
- CurveP521
- CurveP384
sniStrict: false
http:
middlewares:
secHeaders:
headers:
browserXssFilter: true
contentTypeNosniff: true
frameDeny: true
sslRedirect: true
#HSTS Configuration
stsIncludeSubdomains: true
stsPreload: true
stsSeconds: 31536000
customFrameOptionsValue: "SAMEORIGIN"

30
traefik/traefik.yml Normal file
View File

@@ -0,0 +1,30 @@
api:
dashboard: true
log:
level: ERROR
accessLog: {}
entryPoints:
http:
address: ":80"
https:
address: ":443"
influxdb:
address: ":8086"
providers:
docker:
endpoint: "tcp://dockerproxy:2375"
exposedByDefault: false
file:
filename: "/dynamic_conf.yml"
metrics:
prometheus:
entryPoint: metrics
addServicesLabels: true
addEntryPointsLabels: true
buckets:
- 0.1
- 0.3
- 1.2
- 5.0