Initial commit: Maskarr - Tracker proxy for *arr apps
All checks were successful
Build and Publish Docker Images / build-and-push (push) Successful in 3m17s
All checks were successful
Build and Publish Docker Images / build-and-push (push) Successful in 3m17s
- HTTP proxy server to modify User-Agent and headers for private trackers - Web UI with collapsible tracker cards and real-time validation - Multi-tracker support with persistent JSON configuration - Thread-safe configuration management - Full HTTP methods support (GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS) - REST API for tracker management - Docker support with multi-architecture builds (amd64, arm64, arm/v7) - CI/CD workflows for GitHub Actions and Gitea Actions - Automatic publishing to GitHub Container Registry and Gitea Registry
This commit is contained in:
33
Dockerfile
Normal file
33
Dockerfile
Normal file
@@ -0,0 +1,33 @@
|
||||
FROM python:3.11-slim
|
||||
|
||||
LABEL maintainer="Maskarr"
|
||||
LABEL description="Tracker Proxy for *arr Applications"
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install dependencies
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Copy application
|
||||
COPY maskarr.py .
|
||||
|
||||
# Create volume for config persistence
|
||||
VOLUME ["/app/config"]
|
||||
|
||||
# Expose port
|
||||
EXPOSE 8888
|
||||
|
||||
# Set environment variable for config location
|
||||
ENV CONFIG_PATH=/app/config/maskarr_config.json
|
||||
|
||||
# Run as non-root user
|
||||
RUN useradd -m -u 1000 maskarr && \
|
||||
chown -R maskarr:maskarr /app
|
||||
USER maskarr
|
||||
|
||||
# Health check
|
||||
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
||||
CMD python -c "import requests; requests.get('http://localhost:8888/', timeout=5)" || exit 1
|
||||
|
||||
CMD ["python3", "-u", "maskarr.py"]
|
||||
Reference in New Issue
Block a user