diff options
| author | Max Bossing <info@maxbossing.de> | 2025-09-30 18:02:29 +0200 | 
|---|---|---|
| committer | Max Bossing <info@maxbossing.de> | 2025-09-30 18:02:29 +0200 | 
| commit | 91a45232bd36727dca2e7474005e240d518d4c54 (patch) | |
| tree | 98fac5162ac356123716634284aece8c927f8106 /services/traefik/compose.yaml | |
init
Diffstat (limited to 'services/traefik/compose.yaml')
| -rw-r--r-- | services/traefik/compose.yaml | 32 | 
1 files changed, 32 insertions, 0 deletions
| diff --git a/services/traefik/compose.yaml b/services/traefik/compose.yaml new file mode 100644 index 0000000..504367c --- /dev/null +++ b/services/traefik/compose.yaml @@ -0,0 +1,32 @@ +networks: +  proxy: +    external: true + +volumes: +  acme: + +services: +  traefik: +    image: traefik +    container_name: traefik +    restart: always +    environment: +      CF_DNS_API_TOKEN: +    networks: +      - proxy +    ports: +      - 80:80 +      - 443:443 +    labels: +      traefik.enable: true +      traefik.http.routers.dashboard.rule: Host(`traefik.4d6178.work`) +      traefik.http.routers.dashboard.service: api@internal +      traefik.http.routers.dashboard.entrypoints: websecure +      traefik.http.routers.dashboard.tls: true +      traefik.http.routers.dashboard.tls.certresolver: le +      traefik.http.routers.dashboard.middlewares: oidc-auth@file +    volumes: +      - /var/run/docker.sock:/var/run/docker.sock +      - acme:/acme +      - /opt/traefik/traefik.yaml:/etc/traefik/traefik.yaml +      - /opt/traefik/config.yaml:/etc/traefik/config.yaml | 
