Initial commit

This commit is contained in:
2025-03-22 14:29:48 +01:00
commit da7781035d
87 changed files with 3160 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
services:
traefik:
image: traefik:v3.2
command:
- "--configFile=/etc/traefik/traefik.yml"
ports:
- "80:80"
- "8080:8080"
networks:
- default
- proxy
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- type: bind
source: /root/traefik.yml
target: /etc/traefik/traefik.yml
labels:
- "traefik.enable=true"
- "traefik.http.routers.traefik.rule=Host(`traefik.local`)"
- "traefik.http.services.traefik.loadbalancer.server.port=8080"
networks:
proxy:
name: proxy

View File

@@ -0,0 +1,16 @@
api:
insecure: true
entryPoints:
http:
address: ":80"
forwardedHeaders:
trustedIPs:
- "127.0.0.1/32"
- "10.1.2.11/32" # nginxproxymanager
providers:
docker:
endpoint: "unix:///var/run/docker.sock"
network: proxy
exposedByDefault: false