mirror of
https://github.com/plexguide/Huntarr-Sonarr.git
synced 2025-12-16 20:04:16 -06:00
update for api timeout
This commit is contained in:
@@ -1,30 +1,24 @@
|
||||
FROM python:3.9-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install dependencies
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Copy application files
|
||||
COPY main.py config.py api.py state.py ./
|
||||
COPY missing.py upgrade.py ./
|
||||
COPY utils/ ./utils/
|
||||
|
||||
# Create state directory
|
||||
RUN mkdir -p /tmp/huntarr-state
|
||||
|
||||
# Default environment variables
|
||||
ENV API_KEY="your-api-key" \
|
||||
API_URL="http://your-sonarr-address:8989" \
|
||||
API_TIMEOUT="60" \
|
||||
HUNT_MISSING_SHOWS=1 \
|
||||
HUNT_UPGRADE_EPISODES=5 \
|
||||
SLEEP_DURATION=900 \
|
||||
STATE_RESET_INTERVAL_HOURS=168 \
|
||||
RANDOM_SELECTION="true" \
|
||||
MONITORED_ONLY="true" \
|
||||
HUNT_MODE="both" \
|
||||
DEBUG_MODE="false"
|
||||
|
||||
# Run the application
|
||||
CMD ["python", "main.py"]
|
||||
Reference in New Issue
Block a user