13 Install
Harvey Tindall edited this page 2020-08-17 12:10:41 +01:00

Docker

Available on docker hub.

hrfee@lab:~/jellyfin-accounts# sudo docker create \
                               --name "jf-accounts" \ # Whatever you want to name it
                               -p 8056:8056 \
                               -v /path/to/.jf-accounts:/data \ # Equivalent of ~/.jf-accounts
                               -v /path/to/jellyfin:/jf \ # Path to jellyfin config directory
                               -v /etc/localtime:/etc/localtime:ro \ # Makes sure time is correct
                               hrfee/jellyfin-accounts

To build from Dockerfile instead,

hrfee@lab:~$ git clone https://github.com/hrfee/jellyfin-accounts.git
hrfee@lab:~$ cd jellyfin-accounts
hrfee@lab:~/jellyfin-accounts# sudo docker build -t jellyfin-accounts .

Note: Sometimes watchdog (used for watching Jellyfin directory) will not work on the directory mounted to /jf. This is probably a permissions issue, but a quick (albeit possibly dangerous) fix is to to create the container with --privileged as an option.

Windows note: This will not work on Docker for windows, although someone with a similar watchdog related problem said this workaround worked for them.

Pip

hrfee@lab:~$ pip install jellyfin-accounts

  • Note: if you get a dependency error on linux, try installing libssl-dev or the equivalent on your system.

Manual build/install

See Building.

Windows

There used to be an issue with dependencies, but i've since discovered that it was completely unnecessary anyway. Installation should be the same as above through pip.

What next?

See setup.