mirror of
https://github.com/plexguide/Huntarr-Sonarr.git
synced 2025-12-16 20:04:16 -06:00
update
This commit is contained in:
@@ -11,17 +11,18 @@ COPY missing.py upgrade.py ./
|
||||
COPY web_server.py ./
|
||||
COPY utils/ ./utils/
|
||||
# Create templates directory and copy index.html
|
||||
RUN mkdir -p templates
|
||||
RUN mkdir -p templates static/css static/js
|
||||
COPY templates/ ./templates/
|
||||
COPY static/ ./static/
|
||||
# Create required directories
|
||||
RUN mkdir -p /tmp/huntarr-state
|
||||
RUN mkdir -p /tmp/huntarr-logs
|
||||
RUN mkdir -p /config/stateful /config/settings
|
||||
# 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=0 \
|
||||
HUNT_UPGRADE_EPISODES=5 \
|
||||
SLEEP_DURATION=900 \
|
||||
STATE_RESET_INTERVAL_HOURS=168 \
|
||||
RANDOM_SELECTION="true" \
|
||||
@@ -30,6 +31,8 @@ DEBUG_MODE="false" \
|
||||
ENABLE_WEB_UI="true" \
|
||||
SKIP_FUTURE_EPISODES="true" \
|
||||
SKIP_SERIES_REFRESH="false"
|
||||
# Create volume mount points
|
||||
VOLUME ["/config"]
|
||||
# Expose web interface port
|
||||
EXPOSE 8988
|
||||
# Add startup script that conditionally starts the web UI
|
||||
|
||||
Reference in New Issue
Block a user