refactor: add https and acme to traefik

This commit is contained in:
2023-03-29 22:19:37 -07:00
parent ed426593d4
commit c3f6bd2ea9
9 changed files with 65 additions and 24 deletions

View File

@@ -1,3 +1,5 @@
{% from "contrib/compose_helpers.j2" import traefik_labels with context %}
{##}
version: "3.7"
networks:
@@ -10,9 +12,7 @@ services:
image: jellyfin/jellyfin:10.8.6
container_name: jellyfin_jellyfin
labels:
- traefik.enable=true
- traefik.http.routers.jellyfin.rule=Host(`jellyfin.{{ domain }}`)
- traefik.http.services.jellyfin.loadbalancer.server.port=8096
- {{ traefik_labels("jellyfin", port="8096") | indent(6) }}
restart: unless-stopped
env_file:
- .env.jellyfin