prod version

This commit is contained in:
2026-03-10 11:06:14 +01:00
commit a61351a210
9 changed files with 376 additions and 0 deletions

View File

View File

@@ -0,0 +1,2 @@
# Netbird hostname
HOSTNAME=vpn.example.com

81
traefik/traefik.yml Normal file
View 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