From 0d8c2ac52d8021710e50f7cd1d3297a4d389e1aa Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Sat, 15 Jul 2023 13:51:59 -0500 Subject: [PATCH] add jellyfin --- jellyfin/docker-compose.yml | 43 +++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 jellyfin/docker-compose.yml diff --git a/jellyfin/docker-compose.yml b/jellyfin/docker-compose.yml new file mode 100644 index 0000000..fde305c --- /dev/null +++ b/jellyfin/docker-compose.yml @@ -0,0 +1,43 @@ +version: "3.5" +services: + jellyfin: + image: jellyfin/jellyfin + container_name: jellyfin + restart: unless-stopped + security_opt: + - no-new-privileges:true + + stdin_open: true # docker run -i + tty: true # docker run -t + # network_mode: "host" + # networks: + # - proxy + # user: uid:gid + ports: + - 8096:8096 + volumes: + - /tank/jellyfin/config:/config + - /tank/jellyfin/cache:/cache + - /tank/jellyfin/media:/media + - /tank/jellyfin/media2:/media2:ro + # Optional - alternative address used for autodiscovery + environment: + - JELLYFIN_PublishedServerUrl=https://jellyfin.${URL} + # Optional - may be necessary for docker healthcheck to pass if running in host network mode + extra_hosts: + - "host.docker.internal:host-gateway" + # labels: + # - "traefik.enable=true" + # - "traefik.http.routers.jellyfin.entrypoints=http" + # - "traefik.http.routers.jellyfin.rule=Host(`jellyfin.${URL}`)" + # - "traefik.http.middlewares.jellyfin-https-redirect.redirectscheme.scheme=https" + # - "traefik.http.routers.jellyfin.middlewares=jellyfin-https-redirect" + # - "traefik.http.routers.jellyfin-secure.entrypoints=https" + # - "traefik.http.routers.jellyfin-secure.rule=Host(`jellyfin.${URL}`)" + # - "traefik.http.routers.jellyfin-secure.tls=true" + # - "traefik.http.routers.jellyfin-secure.service=jellyfin" + # - "traefik.http.services.jellyfin.loadbalancer.server.port=8096" + # - "traefik.docker.network=proxy" +# networks: +# proxy: +# external: true