Initial commit: Traefik + Gitea Compose-Files

This commit is contained in:
2026-06-02 07:30:42 +00:00
commit 7c2fc1060f
5 changed files with 87 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
services:
traefik:
image: traefik:v3
container_name: traefik
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./traefik.yml:/etc/traefik/traefik.yml:ro
- ./dynamic:/etc/traefik/dynamic:ro
- ./certs:/etc/traefik/certs:ro
labels:
- "traefik.enable=true"
- "traefik.http.routers.dashboard.rule=Host(`traefik.core.bob`)"
- "traefik.http.routers.dashboard.entrypoints=websecure"
- "traefik.http.routers.dashboard.tls=true"
- "traefik.http.routers.dashboard.service=api@internal"
networks:
- traefik
networks:
traefik:
external: true