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