jellyfixer/README.md

51 lines
1.9 KiB
Markdown
Raw Permalink Normal View History

2020-12-03 11:42:25 +01:00
# jellyfixer
a little container to fix [this bug](https://github.com/jellyfin/jellyfin/issues/3852). it takes the origin response from `/System/Info/Public` and deletes the `LocalAddress` key.
## Usage
it can take a config file as first argument. if `external_url` is not defined, the JSON response wont include it at all!
## config example
---
internal_url: http://jellycontainer:8096
external_url: https://jellyfin.foobar.tld
## config environment variables
- `JELLYFIXER_INTERNAL_URL`
- `JELLYFIXER_EXTERNAL_URL`
2020-12-03 12:52:25 +01:00
### docker-compose
---
version: '3'
services:
jellyfin:
image: jellyfin/jellyfin:latest
volumes:
- "/srv/www/jellyfin/config:/config"
- "/srv/www/jellyfin/cache:/cache"
- "/home/foo/Media/Videos:/media/Videos:ro"
networks:
- nginx_backend
labels:
- "traefik.enable=true"
- "traefik.http.routers.jellyfin-secured.rule=Host(`jellyfin.foo.tld`)"
- "traefik.http.routers.jellyfin-secured.entrypoints=websecure"
- "traefik.http.routers.jellyfin-secured.tls.certresolver=mytlschallenge"
jellyfixer:
image: quay.io/xsteadfastx/jellyfixer:latest
command: http://jellyfin:8096
networks:
- nginx_backend
environment:
2020-12-09 09:35:29 +01:00
- JELLYFIXER_INTERNAL_URL=http://jellycontainer:8096
- JELLYFIXER_EXTERNAL_URL=https://jellyfin.foo.tld
2020-12-03 12:52:25 +01:00
labels:
- "traefik.enable=true"
- "traefik.http.routers.jellyfixer-secured.rule=Host(`jellyfin.foo.tld`) && Path(`/System/Info/Public`)"
- "traefik.http.routers.jellyfixer-secured.entrypoints=websecure"
- "traefik.http.routers.jellyfixer-secured.tls.certresolver=mytlschallenge"