Updated Install (markdown)

Harvey Tindall 2020-04-15 11:45:35 +01:00
parent eddb6f37f2
commit 14c2432991

@ -1,12 +1,5 @@
## Docker ## Docker
Currently not available on dockerhub but hopefully that will change soon. Available on [docker hub](https://hub.docker.com/r/hrfee/jellyfin-accounts).
```
hrfee@lab:~$ mkdir jellyfin-accounts
hrfee@lab:~$ cd jellyfin-accounts
hrfee@lab:~/jellyfin-accounts# wget https://raw.githubusercontent.com/hrfee/jellyfin-accounts/master/Dockerfile
hrfee@lab:~/jellyfin-accounts# sudo docker build -t jellyfin-accounts .
```
Then, to create a container,
``` ```
hrfee@lab:~/jellyfin-accounts# sudo docker create \ hrfee@lab:~/jellyfin-accounts# sudo docker create \
--name "jf-accounts" \ # Whatever you want to name it --name "jf-accounts" \ # Whatever you want to name it
@ -14,7 +7,15 @@ hrfee@lab:~/jellyfin-accounts# sudo docker create \
-v /path/to/.jf-accounts:/data \ # Equivalent of ~/.jf-accounts -v /path/to/.jf-accounts:/data \ # Equivalent of ~/.jf-accounts
-v /path/to/jellyfin:/jf \ # Path to jellyfin config directory -v /path/to/jellyfin:/jf \ # Path to jellyfin config directory
-v /etc/localtime:/etc/localtime:ro \ # Makes sure time is correct -v /etc/localtime:/etc/localtime:ro \ # Makes sure time is correct
jellyfin-accounts hrfee/jellyfin-accounts
```
To build from Dockerfile instead,
```
hrfee@lab:~$ mkdir jellyfin-accounts
hrfee@lab:~$ cd jellyfin-accounts
hrfee@lab:~/jellyfin-accounts# wget https://raw.githubusercontent.com/hrfee/jellyfin-accounts/master/Dockerfile
hrfee@lab:~/jellyfin-accounts# sudo docker build -t jellyfin-accounts .
``` ```
## Debian ## Debian