Installation
Sonarr can be installed by following the Portainer guide for creating a new stack. Learn about configuring a Docker stacks and then use the following Docker Compose code to run this app:
---
services:
sonarr:
image: lscr.io/linuxserver/sonarr:latest
container_name: sonarr
network_mode: bridge
environment:
- PUID=1000
- PGID=1000
- TZ=America/Vancouver
volumes:
# Persistent Data
- /srv/sonarr:/config
# Media Folders
- /mnt/television:/mmt/television
# Downloads Folder
- /mnt/downloads:/mnt/downloads
ports:
- 8989:8989
restart: unless-stopped