mirror of
https://github.com/hrfee/jellyfin-accounts.git
synced 2024-12-22 09:00:14 +00:00
Added Dockerfile
Dockerfile added. Working on getting this up on docker hub aswell.
This commit is contained in:
parent
b43f145ac5
commit
21fd6e452e
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
FROM python:3.8.2-buster
|
||||||
|
|
||||||
|
RUN apt update -y
|
||||||
|
|
||||||
|
RUN apt install unzip python3-pip python3-dev libsasl2-dev libldap2-dev libssl-dev -y
|
||||||
|
|
||||||
|
RUN cd /opt && wget https://github.com/hrfee/jellyfin-accounts/archive/master.zip
|
||||||
|
|
||||||
|
RUN cd /opt && unzip master.zip
|
||||||
|
|
||||||
|
RUN pip install pyOpenSSL
|
||||||
|
|
||||||
|
RUN pip install -r /opt/jellyfin-accounts-master/requirements.txt
|
||||||
|
|
||||||
|
RUN cd /opt/jellyfin-accounts-master && python3 setup.py install
|
||||||
|
|
||||||
|
ENTRYPOINT [ "python3", "/usr/local/bin/jf-accounts", "-d", "/data" ]
|
@ -34,6 +34,7 @@ A basic account management system for [Jellyfin](https://github.com/jellyfin/jel
|
|||||||
* watchdog
|
* watchdog
|
||||||
```
|
```
|
||||||
### Install
|
### Install
|
||||||
|
|
||||||
Usually as simple as:
|
Usually as simple as:
|
||||||
```
|
```
|
||||||
git clone https://github.com/hrfee/jellyfin-accounts.git
|
git clone https://github.com/hrfee/jellyfin-accounts.git
|
||||||
@ -41,7 +42,7 @@ cd jellyfin-accounts
|
|||||||
pip3 install -r requirements.txt
|
pip3 install -r requirements.txt
|
||||||
python3 setup.py install
|
python3 setup.py install
|
||||||
```
|
```
|
||||||
If not, see [install](https://github.com/hrfee/jellyfin-accounts/wiki/Install).
|
If not, or if you want to use docker, see [install](https://github.com/hrfee/jellyfin-accounts/wiki/Install).
|
||||||
|
|
||||||
### Usage
|
### Usage
|
||||||
* Passing no arguments will run the server
|
* Passing no arguments will run the server
|
||||||
@ -90,7 +91,8 @@ device = jf-accounts
|
|||||||
device_id = jf-accounts-0.1
|
device_id = jf-accounts-0.1
|
||||||
|
|
||||||
[ui]
|
[ui]
|
||||||
host = 127.0.0.1
|
; Set to 0.0.0.0 to run localhost
|
||||||
|
host = 0.0.0.0
|
||||||
port = 8056
|
port = 8056
|
||||||
username = your username
|
username = your username
|
||||||
password = your password
|
password = your password
|
||||||
|
@ -10,7 +10,8 @@ device = jf-accounts
|
|||||||
device_id = jf-accounts-0.1
|
device_id = jf-accounts-0.1
|
||||||
|
|
||||||
[ui]
|
[ui]
|
||||||
host = 127.0.0.1
|
; Set 0.0.0.0 to run localhost
|
||||||
|
host = 0.0.0.0
|
||||||
port = 8056
|
port = 8056
|
||||||
username = your username
|
username = your username
|
||||||
password = your password
|
password = your password
|
||||||
|
Loading…
Reference in New Issue
Block a user