docker-compose.yaml

This commit is contained in:
2026-09-27 08:48:15 +00:00
parent 9d7249a7d7
commit fcc1b8acff
+22
View File
@@ -0,0 +1,22 @@
services:
oauth2-proxy:
image: quay.io/oauth2-proxy/oauth2-proxy:latest
container_name: oauth2-proxy
restart: unless-stopped
env_file:
- .env
expose:
- "4180"
networks:
- infra-traefik_traefik-net
labels:
- traefik.enable=true
- "traefik.http.routers.oauth2-proxy.rule=Host(`auth-proxy.ljh31.de`)"
- "traefik.http.routers.oauth2-proxy.entrypoints=websecure"
- "traefik.http.routers.oauth2-proxy.tls=true"
- "traefik.http.routers.oauth2-proxy.tls.certresolver=letsencrypt"
- "traefik.http.services.oauth2-proxy.loadbalancer.server.port=4180"
networks:
infra-traefik_traefik-net:
external: true