prod version
This commit is contained in:
0
traefik/dynamic/dynamic.yml
Normal file
0
traefik/dynamic/dynamic.yml
Normal file
2
traefik/traefik.env.example
Normal file
2
traefik/traefik.env.example
Normal file
@@ -0,0 +1,2 @@
|
||||
# Netbird hostname
|
||||
HOSTNAME=vpn.example.com
|
||||
81
traefik/traefik.yml
Normal file
81
traefik/traefik.yml
Normal file
@@ -0,0 +1,81 @@
|
||||
################################################################
|
||||
# Global configuration
|
||||
################################################################
|
||||
|
||||
global:
|
||||
checkNewVersion: true
|
||||
sendAnonymousUsage: false
|
||||
|
||||
################################################################
|
||||
# EntryPoints configuration
|
||||
################################################################
|
||||
|
||||
entryPoints:
|
||||
web:
|
||||
address: :80
|
||||
http:
|
||||
redirections:
|
||||
entryPoint:
|
||||
to: "websecure"
|
||||
scheme: "https"
|
||||
|
||||
websecure:
|
||||
address: :443
|
||||
http3: {}
|
||||
forwardedHeaders:
|
||||
trustedIPs:
|
||||
- "0.0.0.0/0"
|
||||
transport:
|
||||
respondingTimeouts:
|
||||
idleTimeout: "0s"
|
||||
readTimeout: "0s"
|
||||
writeTimeout: "0s"
|
||||
|
||||
################################################################
|
||||
# API and dashboard configuration
|
||||
################################################################
|
||||
|
||||
api:
|
||||
insecure: true
|
||||
dashboard: true
|
||||
|
||||
################################################################
|
||||
# Docker configuration backend
|
||||
################################################################
|
||||
|
||||
providers:
|
||||
docker:
|
||||
endpoint: "unix:///var/run/docker.sock"
|
||||
exposedByDefault: false
|
||||
network: "traefik"
|
||||
file:
|
||||
directory: "/etc/traefik/dynamic"
|
||||
watch: true
|
||||
providersThrottleDuration: 10
|
||||
|
||||
certificatesResolvers:
|
||||
tls-resolver:
|
||||
acme:
|
||||
email: postmaster@example.com
|
||||
storage: "/etc/traefik/acme/acme.json"
|
||||
tlsChallenge: {}
|
||||
|
||||
################################################################
|
||||
# Allow HTTPs apps
|
||||
################################################################
|
||||
|
||||
serversTransport:
|
||||
insecureSkipVerify: true
|
||||
|
||||
################################################################
|
||||
# Logging
|
||||
################################################################
|
||||
|
||||
metrics:
|
||||
prometheus:
|
||||
buckets:
|
||||
- 0.1
|
||||
- 0.3
|
||||
- 1.2
|
||||
- 5.0
|
||||
addRoutersLabels: true
|
||||
Reference in New Issue
Block a user