-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75 from luigi311/dev
Variants, Pin versions, CI, Plex usernames
- Loading branch information
Showing
11 changed files
with
266 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,15 @@ | ||
.env | ||
.dockerignore | ||
.env | ||
.env.sample | ||
.git | ||
.github | ||
.gitignore | ||
.idea | ||
.vscode | ||
|
||
Dockerfile* | ||
README.md | ||
|
||
test | ||
|
||
venv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
FROM python:3-alpine | ||
|
||
ENV DRYRUN 'True' | ||
ENV DEBUG 'True' | ||
ENV DEBUG_LEVEL 'INFO' | ||
ENV SLEEP_DURATION '3600' | ||
ENV LOGFILE 'log.log' | ||
|
||
ENV USER_MAPPING '' | ||
ENV LIBRARY_MAPPING '' | ||
|
||
ENV PLEX_BASEURL '' | ||
ENV PLEX_TOKEN '' | ||
ENV PLEX_USERNAME '' | ||
ENV PLEX_PASSWORD '' | ||
ENV PLEX_SERVERNAME '' | ||
|
||
ENV JELLYFIN_BASEURL '' | ||
ENV JELLYFIN_TOKEN '' | ||
|
||
ENV SYNC_FROM_PLEX_TO_JELLYFIN 'True' | ||
ENV SYNC_FROM_JELLYFIN_TO_PLEX 'True' | ||
ENV SYNC_FROM_PLEX_TO_PLEX 'True' | ||
ENV SYNC_FROM_JELLYFIN_TO_JELLYFIN 'True' | ||
|
||
ENV BLACKLIST_LIBRARY '' | ||
ENV WHITELIST_LIBRARY '' | ||
ENV BLACKLIST_LIBRARY_TYPE '' | ||
ENV WHITELIST_LIBRARY_TYPE '' | ||
ENV BLACKLIST_USERS '' | ||
ENV WHITELIST_USERS '' | ||
|
||
WORKDIR /app | ||
|
||
COPY ./requirements.txt ./ | ||
|
||
RUN pip install --no-cache-dir -r requirements.txt | ||
|
||
COPY . . | ||
|
||
CMD ["python", "-u", "main.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,40 @@ | ||
FROM python:3-slim | ||
|
||
ENV DRYRUN 'True' | ||
ENV DEBUG 'True' | ||
ENV DEBUG_LEVEL 'INFO' | ||
ENV SLEEP_DURATION '3600' | ||
ENV LOGFILE 'log.log' | ||
|
||
ENV USER_MAPPING '' | ||
ENV LIBRARY_MAPPING '' | ||
|
||
ENV PLEX_BASEURL '' | ||
ENV PLEX_TOKEN '' | ||
ENV PLEX_USERNAME '' | ||
ENV PLEX_PASSWORD '' | ||
ENV PLEX_SERVERNAME '' | ||
|
||
ENV JELLYFIN_BASEURL '' | ||
ENV JELLYFIN_TOKEN '' | ||
|
||
ENV SYNC_FROM_PLEX_TO_JELLYFIN 'True' | ||
ENV SYNC_FROM_JELLYFIN_TO_PLEX 'True' | ||
ENV SYNC_FROM_PLEX_TO_PLEX 'True' | ||
ENV SYNC_FROM_JELLYFIN_TO_JELLYFIN 'True' | ||
|
||
ENV BLACKLIST_LIBRARY '' | ||
ENV WHITELIST_LIBRARY '' | ||
ENV BLACKLIST_LIBRARY_TYPE '' | ||
ENV WHITELIST_LIBRARY_TYPE '' | ||
ENV BLACKLIST_USERS '' | ||
ENV WHITELIST_USERS '' | ||
|
||
WORKDIR /app | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends \ | ||
build-essential && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
COPY ./requirements.txt ./ | ||
RUN pip install --no-cache-dir -r requirements.txt | ||
|
||
COPY . . | ||
|
||
CMD ["python", "-u", "main.py"] | ||
FROM python:3-slim | ||
|
||
ENV DRYRUN 'True' | ||
ENV DEBUG 'True' | ||
ENV DEBUG_LEVEL 'INFO' | ||
ENV SLEEP_DURATION '3600' | ||
ENV LOGFILE 'log.log' | ||
|
||
ENV USER_MAPPING '' | ||
ENV LIBRARY_MAPPING '' | ||
|
||
ENV PLEX_BASEURL '' | ||
ENV PLEX_TOKEN '' | ||
ENV PLEX_USERNAME '' | ||
ENV PLEX_PASSWORD '' | ||
ENV PLEX_SERVERNAME '' | ||
|
||
ENV JELLYFIN_BASEURL '' | ||
ENV JELLYFIN_TOKEN '' | ||
|
||
ENV SYNC_FROM_PLEX_TO_JELLYFIN 'True' | ||
ENV SYNC_FROM_JELLYFIN_TO_PLEX 'True' | ||
ENV SYNC_FROM_PLEX_TO_PLEX 'True' | ||
ENV SYNC_FROM_JELLYFIN_TO_JELLYFIN 'True' | ||
|
||
ENV BLACKLIST_LIBRARY '' | ||
ENV WHITELIST_LIBRARY '' | ||
ENV BLACKLIST_LIBRARY_TYPE '' | ||
ENV WHITELIST_LIBRARY_TYPE '' | ||
ENV BLACKLIST_USERS '' | ||
ENV WHITELIST_USERS '' | ||
|
||
WORKDIR /app | ||
|
||
COPY ./requirements.txt ./ | ||
RUN pip install --no-cache-dir -r requirements.txt | ||
|
||
COPY . . | ||
|
||
CMD ["python", "-u", "main.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
version: '3' | ||
|
||
services: | ||
jellyplex-watched: | ||
image: luigi311/jellyplex-watched:latest | ||
container_name: jellyplex-watched | ||
restart: always | ||
environment: | ||
- DRYRUN=True | ||
- DEBUG=True | ||
- DEBUG_LEVEL=info | ||
- RUN_ONLY_ONCE=False | ||
- SLEEP_DURATION=3600 | ||
- LOGFILE=/tmp/log.log | ||
- USER_MAPPING= | ||
- LIBRARY_MAPPING={"TV Shows":"Shows"} | ||
- BLACKLIST_LIBRARY= | ||
- WHITELIST_LIBRARY= | ||
- BLACKLIST_LIBRARY_TYPE= | ||
- WHITELIST_LIBRARY_TYPE= | ||
- BLACKLIST_USERS= | ||
- WHITELIST_USERS= | ||
- PLEX_BASEURL= | ||
- PLEX_TOKEN= | ||
- JELLYFIN_BASEURL= | ||
- JELLYFIN_TOKEN= | ||
- SSL_BYPASS=True | ||
- SYNC_FROM_PLEX_TO_JELLYFIN=True | ||
- SYNC_FROM_JELLYFIN_TO_PLEX=True | ||
- SYNC_FROM_PLEX_TO_PLEX=True | ||
- SYNC_FROM_JELLYFIN_TO_JELLYFIN=True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
plexapi | ||
requests | ||
python-dotenv | ||
aiohttp | ||
PlexAPI==4.13.4 | ||
requests==2.28.2 | ||
python-dotenv==1.0.0 | ||
aiohttp==3.8.4 |
Oops, something went wrong.