Add recipe mockup

This commit is contained in:
2026-03-20 21:29:38 +01:00
parent 6e0d650f54
commit c4d2e74703
9 changed files with 1062 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
services:
recipe-mockup:
build: .
container_name: recipe-mockup
restart: unless-stopped
networks:
- homelab_apps
labels:
- "traefik.enable=true"
- "traefik.docker.network=homelab_apps"
- "traefik.http.routers.recipe.rule=Host(`${RECIPE_DOMAIN}`)"
- "traefik.http.routers.recipe.entrypoints=websecure"
- "traefik.http.routers.recipe.tls=true"
- "traefik.http.routers.recipe.tls.certresolver=le"
- "traefik.http.services.recipe.loadbalancer.server.port=80"
# Authentik Protection
- "traefik.http.middlewares.authentik.forwardauth.address=http://authentik-server:9000/outpost.goauthentik.io/auth/traefik"
- "traefik.http.middlewares.authentik.forwardauth.trustForwardHeader=true"
- "traefik.http.middlewares.authentik.forwardauth.authResponseHeaders=X-authentik-username,X-authentik-groups,X-authentik-entitlements,X-authentik-email,X-authentik-name,X-authentik-uid,X-authentik-jwt,X-authentik-meta-jwks,X-authentik-meta-outpost,X-authentik-meta-provider,X-authentik-meta-app,X-authentik-meta-version"
- "traefik.http.routers.recipe.middlewares=authentik"
networks:
homelab_apps:
external: true