jellyfin: wrangle data directory paths

This commit is contained in:
Starbeamrainbowlabs 2020-10-17 18:14:09 +01:00
parent 3cb612d86b
commit 1090745353
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -23,14 +23,17 @@ ENV LC_ALL en_GB.UTF-8
ENV LANG en_GB.UTF-8 ENV LANG en_GB.UTF-8
ENV LANGUAGE en_GB:en ENV LANGUAGE en_GB:en
VOLUME /srv/cache /srv/config /srv/media ENV JELLYFIN_DATA_DIR /srv/data
ENV JELLYFIN_CONFIG_DIR /srv/config
ENV JELLYFIN_LOG_DIR /srv/logs
ENV JELLYFIN_CACHE_DIR /srv/cache
VOLUME /srv/data /srv/config /srv/logs /srv/cache /srv/media
USER 90:90 USER 90:90
# Default port number: 8096 # Default port number: 8096
# Note to self: Consider mounting a tmpfs to /srv/cache in the Nomad config # Note to self: Consider mounting a tmpfs to /srv/cache in the Nomad config
ENTRYPOINT [ "/usr/bin/jellyfin", \ ENTRYPOINT [ "/usr/bin/jellyfin", \
"--datadir", "/srv/config", \
"--cachedir", "/srv/cache", \
"--ffmpeg", "/usr/lib/jellyfin-ffmpeg/ffmpeg", \ "--ffmpeg", "/usr/lib/jellyfin-ffmpeg/ffmpeg", \
"--webdir", "/usr/share/jellyfin/web" ] "--webdir", "/usr/share/jellyfin/web" ]