base container
This commit is contained in:
33
config/dynamic.yml
Normal file
33
config/dynamic.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
################################################################
|
||||
# Self-signed certificate configuration
|
||||
################################################################
|
||||
|
||||
# tls:
|
||||
# stores:
|
||||
# default:
|
||||
# defaultCertificate:
|
||||
# certFile: /etc/traefik/ssl/local-domain.crt
|
||||
# keyFile: /etc/traefik/ssl/local-domain.key
|
||||
|
||||
################################################################
|
||||
# Middlewares configuration
|
||||
################################################################
|
||||
|
||||
# http:
|
||||
# middlewares:
|
||||
# authentik:
|
||||
# forwardAuth:
|
||||
# address: http://server:9000/outpost.goauthentik.io/auth/traefik
|
||||
# trustForwardHeader: true
|
||||
# authResponseHeaders:
|
||||
# - X-authentik-username
|
||||
# - X-authentik-groups
|
||||
# - X-authentik-email
|
||||
# - X-authentik-name
|
||||
# - X-authentik-uid
|
||||
# - X-authentik-jwt
|
||||
# - X-authentik-meta-jwks
|
||||
# - X-authentik-meta-outpost
|
||||
# - X-authentik-meta-provider
|
||||
# - X-authentik-meta-app
|
||||
# - X-authentik-meta-version
|
||||
66
config/traefik.yml
Normal file
66
config/traefik.yml
Normal file
@@ -0,0 +1,66 @@
|
||||
################################################################
|
||||
# Global configuration
|
||||
################################################################
|
||||
|
||||
global:
|
||||
checkNewVersion: true
|
||||
sendAnonymousUsage: true
|
||||
|
||||
################################################################
|
||||
# EntryPoints configuration
|
||||
################################################################
|
||||
|
||||
entryPoints:
|
||||
web:
|
||||
address: :80
|
||||
http:
|
||||
redirections:
|
||||
entryPoint:
|
||||
to: "websecure"
|
||||
scheme: "https"
|
||||
|
||||
websecure:
|
||||
address: :443
|
||||
http3: {}
|
||||
|
||||
################################################################
|
||||
# API and dashboard configuration
|
||||
################################################################
|
||||
|
||||
api:
|
||||
insecure: true
|
||||
dashboard: true
|
||||
|
||||
################################################################
|
||||
# Docker configuration backend
|
||||
################################################################
|
||||
|
||||
providers:
|
||||
docker:
|
||||
endpoint: "unix:///var/run/docker.sock"
|
||||
exposedByDefault: false
|
||||
network: "traefik_public"
|
||||
file:
|
||||
filename: "/etc/traefik/dynamic.yml"
|
||||
watch: true
|
||||
providersThrottleDuration: 10
|
||||
|
||||
certificatesResolvers:
|
||||
tls-resolver:
|
||||
acme:
|
||||
email: mail@example.com
|
||||
storage: "/etc/traefik/acme/acme.json"
|
||||
tlsChallenge: {}
|
||||
|
||||
################################################################
|
||||
# Logging
|
||||
################################################################
|
||||
|
||||
metrics:
|
||||
prometheus:
|
||||
buckets:
|
||||
- 0.1
|
||||
- 0.3
|
||||
- 1.2
|
||||
- 5.0
|
||||
addRoutersLabels: true
|
||||
Reference in New Issue
Block a user