From 6e14732cd445113a5c1797ecdafb31fcf1ff353e Mon Sep 17 00:00:00 2001 From: Goldy <153996346+g0ldyy@users.noreply.github.com> Date: Sat, 29 Jun 2024 15:43:23 +0200 Subject: [PATCH] here we go again --- .env-sample | 10 +++++----- Dockerfile | 5 ++++- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.env-sample b/.env-sample index 19e88f8..c4f83e1 100644 --- a/.env-sample +++ b/.env-sample @@ -1,13 +1,13 @@ FASTAPI_HOST=0.0.0.0 FASTAPI_PORT=8000 FASTAPI_WORKERS=1 # remove to destroy CPU -> max performances -DATABASE_PATH=data/comet.db # folders in path must exist -CACHE_TTL=86400 -DEBRID_PROXY_URL=http://127.0.0.1:1080 +DATABASE_PATH=data/comet.db # only change it if you know what it is - folders in path must exist +CACHE_TTL=86400 # cache duration in seconds +DEBRID_PROXY_URL=http://127.0.0.1:1080 # https://github.com/cmj2002/warp-docker INDEXER_MANAGER_TYPE=jackett # or prowlarr INDEXER_MANAGER_URL=http://127.0.0.1:9117 INDEXER_MANAGER_API_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -INDEXER_MANAGER_TIMEOUT=30 +INDEXER_MANAGER_TIMEOUT=30 # maximum time to obtain search results from indexer manager in seconds INDEXER_MANAGER_INDEXERS=EXAMPLE1_CHANGETHIS,EXAMPLE2_CHANGETHIS -GET_TORRENT_TIMEOUT=5 +GET_TORRENT_TIMEOUT=5 # maximum time to obtain the torrent info hash in seconds CUSTOM_HEADER_HTML=None # only set it if you know what it is \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index f89f6c3..4a588fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,9 +14,12 @@ ENV PYTHONUNBUFFERED=1 \ FORCE_COLOR=1 \ TERM=xterm-256color +# Fix python-alpine gcc RUN apk add --no-cache \ gcc \ - libffi-dev + musl-dev \ + libffi-dev \ + make RUN pip install poetry COPY . .