docker-compose.yml
Rama main · réplica de lectura del repositorio original.
services:
aonarr-server:
build:
context: ./server
container_name: aonarr-server
restart: unless-stopped
environment:
- PORT=8989
- AONARR_CONFIG_DIR=/config
- AONARR_DOWNLOADS_DIR=/downloads
- AONARR_SEARCH_INTERVAL_MINUTES=30
- AONARR_QUEUE_POLL_SECONDS=20
# Files/folders under /config are chowned to this user/group on startup (only when they
# don't already match, so this is cheap on restarts). Defaults are Unraid's nobody:users.
- PUID=99
- PGID=100
# Only for OTHER sites' pages that call the API from a browser (e.g. a dashboard widget);
# the web UI never needs it. Comma-separated origins, merged with Settings → Allowed CORS origins.
# - AONARR_CORS_ALLOWED_ORIGINS=https://dash.example.com
# Serving AoNarr under a sub-path of a reverse proxy (https://host/aonarr/)? Set the same value here and on
# aonarr-web below. The proxy must forward the whole path, /aonarr included.
# - URL_BASE=/aonarr
volumes:
- ./data/config:/config
# Point these at your actual Unraid shares, e.g. /mnt/user/media and /mnt/user/downloads.
- ./data/media:/media
- ./data/downloads:/downloads
ports:
- "8989:8989"
aonarr-web:
build:
context: ./web
container_name: aonarr-web
restart: unless-stopped
depends_on:
- aonarr-server
# environment:
# - URL_BASE=/aonarr
ports:
- "9876:9876"