My Radarr Setup#
This Radarr setup runs in a Docker container and is used to manage movie downloads. It includes configurations for environment variables, volume mounts, and networking.
My Docker Compose Configuration#
services:
radarr:
image: lscr.io/linuxserver/radarr:latest # Radarr latest image
container_name: radarr # Container name for identification
environment:
- PUID=0 # Set user ID (root user)
- PGID=0 # Set group ID (root group)
- TZ=Europe/London # Set timezone
volumes:
- ~/radarr/config:/config # Mount Radarr configuration directory
- ~/downloads:/downloads # Mount download directory for movie files
- /mnt/main_nas/movies:/main_nas/movies # Optional: Mount main NAS movie directory
- /mnt/sean_nas/movies:/sean_nas/movies # Optional: Mount secondary NAS movie directory
ports:
- "7878:7878" # Expose port 7878 for the Radarr web interface
restart: unless-stopped # Restart the container unless stopped manually
Using Docker Secrets for Environment Variables#
You can set any environment variable from a file by using a special prepend FILE__.
For example:
FILE__MYVAR=/run/secrets/mysecretvariable