homelab/archive/2023.09.bxl-rpi/apps/docker-compose.well-known.yaml

21 lines
669 B
YAML
Raw Normal View History

2023-09-26 10:26:43 +02:00
services:
wellknown-nginx:
container_name: wellknown-nginx
image: nginx:latest
restart: unless-stopped
volumes:
- $CONFIG/well-known/nginx.conf:/etc/nginx/nginx.conf:ro
labels:
- "traefik.enable=true"
- "traefik.http.routers.matrix-nginx.rule=Host(`bhasher.com`) && PathPrefix(`/.well-known`)"
- "traefik.http.routers.matrix-nginx.tls=true"
- "traefik.http.routers.matrix-nginx.tls.certresolver=http"
- "traefik.http.routers.matrix-nginx.entrypoints=internalsecure,externalsecure"
- "traefik.http.services.matrix-nginx.loadbalancer.server.port=80"
networks:
- external
networks:
external:
external: true