Upload files to "traefik"

This commit is contained in:
Jay Booker 2025-10-18 15:21:55 +09:00
commit b7c1c14a33
2 changed files with 37 additions and 0 deletions

20
traefik/compose.yml Normal file
View File

@ -0,0 +1,20 @@
---
services:
traefik:
image: traefik:v3.5
container_name: traefik-demo
command: --api.insecure=true --providers.docker
ports:
- "80:80"
- "8080:8080"
- "8443:8443"
- "443:443"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./config/traefik.yml:/etc/traefik/traefik.yml:ro
networks:
- bsej
restart: unless-stopped
networks:
bsej:
external: true

17
traefik/traefik.yml Normal file
View File

@ -0,0 +1,17 @@
global:
checkNewVersion: false
sendAnonymousUsage: false
log:
level: DEBUG
api:
dashboard: true
insecure: true
entryPoints:
web:
address: :80
websecure:
address: :443
providers:
docker:
endpoint: "unix://var/run/docker.sock"
exposedByDefault: false