Add docker-compose configuration for Sonarr service

This commit is contained in:
2025-11-21 19:27:20 -05:00
parent 141f729a27
commit bfcd99a751

25
sonarr/docker-compose.yml Normal file
View File

@@ -0,0 +1,25 @@
version: "2.1"
services:
# Keep tracks of tv shows and downloads new ones recently released or added from lists.
sonarr:
image: lscr.io/linuxserver/sonarr:latest
container_name: sonarr
environment:
- PUID=1000
- PGID=1006
- TZ=America/New_York
volumes:
- /docker-containers/sonarr:/config
- /TvShows:/tv #optional
- /unsorted:/downloads #optional
ports:
- 8989:8989
restart: unless-stopped
stdin_open: true
tty: true
networks:
- homelab
networks: # I don't know why but you have to specify the network 2x. In service, and in this tag area..
homelab:
name: homelab # Networks can also be given a custom name
external: true # This option causes compose to join the above network instead of making a _default one