mirror of
https://github.com/TheBeastLT/torrentio-scraper.git
synced 2026-05-17 18:11:54 +00:00
46 lines
2.4 KiB
Text
46 lines
2.4 KiB
Text
# .env.example
|
|
# Example environment variables for Torrentio Docker Compose setup
|
|
|
|
# General timezone for all containers
|
|
TZ=America/Chicago # Set your timezone (e.g., America/New_York, Europe/London)
|
|
|
|
# User and group IDs for file permissions inside containers
|
|
PUID=1000 # User ID to run processes as (match your host user)
|
|
PGID=1000 # Group ID to run processes as (match your host group)
|
|
UMASK=002 # File creation mask (default: 002 for group write access)
|
|
|
|
# Domain for Traefik and homepage links
|
|
DOMAIN=example.com # Your domain name (used for Traefik routing and homepage)
|
|
|
|
# --- Torrentio Addon Service ---
|
|
TORRENTIO_PORT=7000 # Port for Torrentio web service
|
|
TORRENTIO_CACHE_MAX_AGE=3600 # Cache max age in seconds
|
|
TORRENTIO_METRICS_USER=admin # Username for metrics endpoint
|
|
TORRENTIO_METRICS_PASSWORD=password # Password for metrics endpoint
|
|
TORRENTIO_HEALTHCHECK_INTERVAL=30s # Healthcheck interval (e.g., 30s)
|
|
TORRENTIO_HEALTHCHECK_TIMEOUT=10s # Healthcheck timeout (e.g., 10s)
|
|
TORRENTIO_HEALTHCHECK_RETRIES=3 # Healthcheck retry count
|
|
|
|
# --- Torrentio MongoDB Service ---
|
|
TORRENTIO_MONGODB_PORT=27017 # Port for MongoDB
|
|
TORRENTIO_MONGODB_ROOT_USERNAME=admin # MongoDB root username
|
|
TORRENTIO_MONGODB_ROOT_PASSWORD=password # MongoDB root password
|
|
TORRENTIO_MONGODB_HEALTHCHECK_INTERVAL=30s # Healthcheck interval for MongoDB
|
|
TORRENTIO_MONGODB_HEALTHCHECK_TIMEOUT=10s # Healthcheck timeout for MongoDB
|
|
TORRENTIO_MONGODB_HEALTHCHECK_RETRIES=5 # Healthcheck retry count for MongoDB
|
|
|
|
# --- Torrentio Postgres Service ---
|
|
TORRENTIO_POSTGRES_PORT=5432 # Port for Postgres
|
|
TORRENTIO_DB_USER=postgres # Postgres username
|
|
TORRENTIO_DB_PASSWORD=postgres # Postgres password
|
|
TORRENTIO_DB_NAME=torrentio # Postgres database name
|
|
TORRENTIO_PGDATA=/var/lib/postgresql/data/pgdata # Postgres data directory
|
|
TORRENTIO_DB_HEALTHCHECK_INTERVAL=30s # Healthcheck interval for Postgres
|
|
TORRENTIO_DB_HEALTHCHECK_TIMEOUT=10s # Healthcheck timeout for Postgres
|
|
TORRENTIO_DB_HEALTHCHECK_RETRIES=5 # Healthcheck retry count for Postgres
|
|
|
|
# --- Paths ---
|
|
# Path to configuration files (relative to project root or absolute)
|
|
CONFIGS_PATH=./configs # Base path for configs (used by Torrentio)
|
|
CONFIG_PATH=./configs # Base path for configs (used by Postgres)
|
|
ROOT_DIR=. # Build context for Dockerfile
|