mirror of
https://github.com/Viren070/docker-compose-template.git
synced 2025-12-01 23:17:00 +01:00
feat: add stremio-ai-companion (#45)
This commit is contained in:
@@ -179,6 +179,7 @@ SPEEDTEST_TRACKER_HOSTNAME=speedtest-tracker.${DOMAIN}
|
||||
STIRLING_PDF_HOSTNAME=stirling.${DOMAIN}
|
||||
STREAMYSTATS_HOSTNAME=streamystats.${DOMAIN}
|
||||
STREMIO_ACCOUNT_BOOTSTRAPPER_HOSTNAME=stremio-account-bootstrapper.${DOMAIN?}
|
||||
STREMIO_AI_COMPANION_HOSTNAME=ai-companion.${DOMAIN?}
|
||||
STREMIO_AI_SEARCH_HOSTNAME=ai-search.${DOMAIN?}
|
||||
STREMIO_CATALOG_PROVIDERS_HOSTNAME=stremio-catalogues.${DOMAIN}
|
||||
STREMIO_JACKETT_HOSTNAME=stremio-jackett.${DOMAIN}
|
||||
|
||||
@@ -28,6 +28,7 @@ services:
|
||||
${MEDIAFUSION_HOSTNAME},
|
||||
${JACKETTIO_HOSTNAME},
|
||||
${PLEXIO_HOSTNAME},
|
||||
${STREMIO_AI_COMPANION_HOSTNAME},
|
||||
${STREMIO_AI_SEARCH_HOSTNAME},
|
||||
${STREMIO_JACKETT_HOSTNAME},
|
||||
${STREMIO_LETTERBOXD_HOSTNAME},
|
||||
|
||||
@@ -78,6 +78,7 @@ services:
|
||||
${STIRLING_PDF_HOSTNAME},
|
||||
${STREAMYSTATS_HOSTNAME},
|
||||
${STREMIO_ACCOUNT_BOOTSTRAPPER_HOSTNAME},
|
||||
${STREMIO_AI_COMPANION},
|
||||
${STREMIO_AI_SEARCH_HOSTNAME},
|
||||
${STREMIO_CATALOG_PROVIDERS_HOSTNAME},
|
||||
${STREMIO_JACKETT_HOSTNAME},
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
# Logging
|
||||
# LOG_LEVEL=WARN
|
||||
|
||||
# --- Security ---
|
||||
# CRITICAL: Secret key for encrypting addon configuration.
|
||||
# Generate one using:
|
||||
# Linux/macOS: openssl rand -hex 32
|
||||
# Windows (PowerShell): -join ((0..31) | ForEach-Object { '{0:x2}' -f (Get-Random -Minimum 0 -Maximum 255) })
|
||||
# Or: [System.Guid]::NewGuid().ToString("N") + [System.Guid]::NewGuid().ToString("N") (ensure it's 64 chars)
|
||||
ENCRYPTION_KEY=
|
||||
|
||||
# Number of workers for the Uvicorn server.
|
||||
# Adjust based on your server's CPU cores.
|
||||
UVICORN_WORKERS=2
|
||||
|
||||
# Output catalogs for movies and series in addition to search
|
||||
ENABLE_FEED_CATALOGS=true
|
||||
|
||||
# Redis configuration
|
||||
REDIS_HOST=stremio-ai-companion-redis
|
||||
REDIS_PORT=6379
|
||||
REDIS_DB=0
|
||||
@@ -0,0 +1,41 @@
|
||||
services:
|
||||
stremio-ai-companion:
|
||||
image: ghcr.io/willtho89/stremio-ai-companion:latest
|
||||
container_name: stremio-ai-companion
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
expose:
|
||||
- 8000
|
||||
depends_on:
|
||||
stremio-ai-companion-redis:
|
||||
condition: service_healthy
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.stremio-ai-companion.rule=Host(`${STREMIO_AI_COMPANION_HOSTNAME?}`)"
|
||||
- "traefik.http.routers.stremio-ai-companion.entrypoints=websecure"
|
||||
- "traefik.http.routers.stremio-ai-companion.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.routers.stremio-ai-companion.middlewares=authelia@docker"
|
||||
- "traefik.http.services.stremio-ai-companion.loadbalancer.server.port=8000"
|
||||
- "traefik.http.middlewares.test-compress.compress=true"
|
||||
profiles:
|
||||
- stremio-ai-companion
|
||||
- stremio
|
||||
- all
|
||||
|
||||
stremio-ai-companion-redis:
|
||||
image: redis:latest
|
||||
container_name: stremio-ai-companion-redis
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ${DOCKER_DATA_DIR}/stremio-ai-companion/cache:/data
|
||||
command: redis-server --appendonly yes --save 60 1
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
profiles:
|
||||
- stremio-ai-companion
|
||||
- stremio
|
||||
- all
|
||||
@@ -69,6 +69,7 @@ include:
|
||||
- apps/stirling-pdf/compose.yaml
|
||||
- apps/streamystats/compose.yaml
|
||||
- apps/stremio-account-bootstrapper/compose.yaml
|
||||
- apps/stremio-ai-companion/compose.yaml
|
||||
- apps/stremio-ai-search/compose.yaml
|
||||
- apps/stremio-catalog-providers/compose.yaml
|
||||
- apps/stremio-jackett/compose.yaml
|
||||
|
||||
Reference in New Issue
Block a user