mirror of
https://github.com/atareao/self-hosted.git
synced 2024-06-30 02:55:38 +02:00
22 lines
733 B
YAML
22 lines
733 B
YAML
|
version: "3"
|
||
|
|
||
|
services:
|
||
|
immich-proxy:
|
||
|
networks:
|
||
|
- proxy
|
||
|
labels:
|
||
|
- traefik.enable=true
|
||
|
- traefik.http.services.immich.loadbalancer.server.port=8080
|
||
|
- traefik.http.routers.immich.entrypoints=web
|
||
|
- traefik.http.routers.immich.rule=Host(`${FQDN}`)
|
||
|
- traefik.http.middlewares.immich-https-redirect.redirectscheme.scheme=websecure
|
||
|
- traefik.http.routers.immich.middlewares=immich-https-redirect
|
||
|
- traefik.http.routers.immich-secure.entrypoints=websecure
|
||
|
- traefik.http.routers.immich-secure.rule=Host(`${FQDN}`)
|
||
|
- traefik.http.routers.immich-secure.tls=true
|
||
|
- traefik.http.routers.immich-secure.tls.certresolver=letsencrypt
|
||
|
|
||
|
networks:
|
||
|
proxy:
|
||
|
external: true
|