docker-compose.yml
Rama main · réplica de lectura del repositorio original.
services:
cantinarr:
# The published image carries a stamped build version, which is what the
# server's update check compares against releases — `docker compose pull`
# is the update path. To build from this checkout instead, layer
# docker-compose.dev.yml on top (see that file).
image: ghcr.io/windoze95/cantinarr:latest
ports:
- "8585:8585"
volumes:
- ./config:/config
# Optional completed-media downloads. Mount each library read-only,
# allowlist its Cantinarr-visible parent in CANTINARR_MEDIA_ROOTS below,
# then map each arr-reported path in that instance's app settings. The
# arr and Cantinarr paths may differ. Example:
# - /mnt/nas/media:/media:ro
environment:
# Self-hosted push gateway (https://push.cantinarr.com). Setting the URL
# ENABLES push: with no API key, the server auto-enrolls on first start and
# persists its own key in the DB (./config volume) — zero manual setup.
# Set CANTINARR_PUSH_API_KEY (in a gitignored .env) only to override; set
# CANTINARR_PUSH_ENROLL_TOKEN only if the gateway uses gated enrollment.
# Override this in .env for another gateway; an explicitly blank value
# disables push. The server itself has no default gateway.
- CANTINARR_PUSH_GATEWAY_URL=${CANTINARR_PUSH_GATEWAY_URL-https://push.cantinarr.com}
- CANTINARR_PUSH_API_KEY=${CANTINARR_PUSH_API_KEY:-}
- CANTINARR_PUSH_ENROLL_TOKEN=${CANTINARR_PUSH_ENROLL_TOKEN:-}
# Comma-separated absolute container paths forming the outer media
# allowlist. Empty keeps completed-media downloads disabled.
- CANTINARR_MEDIA_ROOTS=${CANTINARR_MEDIA_ROOTS:-}
# Run as a specific user instead of root (Synology, Unraid, and other
# linuxserver-style stacks): the image makes ./config belong to that
# user on start. Leave both unset to keep running as root.
# - PUID=1000
# - PGID=1000
restart: unless-stopped