added compose files for lidarr, radarr and sonarr
This commit is contained in:
1 parent
d55d300472
commit
79a573fcbb
7 files changed
+249
No files matched your search
@@ -0,0 +1,31 @@
|
||||
# Radarr Docker Compose Environment Variables
|
||||
|
||||
# Image version tag (default: latest)
|
||||
RADARR_VERSION=latest
|
||||
|
||||
# User and group ID for file permissions (default: 1000)
|
||||
# Must have read/write on the movie library and downloads folder
|
||||
RADARR_PUID=1000
|
||||
RADARR_PGID=1000
|
||||
|
||||
# Timezone (default: America/Los_Angeles)
|
||||
RADARR_TZ=America/Los_Angeles
|
||||
|
||||
# Host port to expose the Radarr web UI (default: 7878)
|
||||
RADARR_PORT=8034
|
||||
|
||||
# Host path to the movie library (mounted at /movies)
|
||||
RADARR_MOVIES_PATH=/mnt/movies
|
||||
|
||||
# Host path to the download client's folder (mounted at /data)
|
||||
# Use the same host path as TRANSMISSION_OPENVPN_DATA so both containers see downloads at /data
|
||||
RADARR_DOWNLOADS_PATH=/mnt/torrent
|
||||
|
||||
# NFS server hostname or IP address
|
||||
RADARR_NFS_SERVER=
|
||||
|
||||
# NFS device path for Radarr backups, mounted at /config/Backups (must include leading colon, e.g. :/mnt/pool/radarr-backups)
|
||||
RADARR_BACKUPS_NFS_DEVICE=
|
||||
|
||||
# Static IP on the external arr_network (172.31.0.0/24) so other arr containers can reach Radarr
|
||||
RADARR_IP=172.31.0.31
|
||||
@@ -0,0 +1,51 @@
|
||||
services:
|
||||
app:
|
||||
image: linuxserver/radarr:${RADARR_VERSION:-latest}
|
||||
container_name: radarr-app
|
||||
environment:
|
||||
- PUID=${RADARR_PUID:-1000}
|
||||
- PGID=${RADARR_PGID:-1000}
|
||||
- TZ=${RADARR_TZ:-America/Los_Angeles}
|
||||
volumes:
|
||||
- radarr-config:/config
|
||||
# Radarr's default backup folder, stored on NFS so backups survive loss of the Docker host
|
||||
- radarr-backups:/config/Backups
|
||||
- ${RADARR_MOVIES_PATH}:/movies
|
||||
# Same host path + container path as Transmission (/data) so no Remote Path Mapping is needed
|
||||
- ${RADARR_DOWNLOADS_PATH}:/data
|
||||
ports:
|
||||
- ${RADARR_PORT:-7878}:7878
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:7878/ping"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: 10m
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 1g
|
||||
networks:
|
||||
arr_network:
|
||||
ipv4_address: ${RADARR_IP:-172.31.0.31}
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
radarr-config:
|
||||
name: radarr-config
|
||||
driver: local
|
||||
radarr-backups:
|
||||
name: radarr-backups
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: nfs
|
||||
o: "addr=${RADARR_NFS_SERVER},rw,noatime,rsize=65536,wsize=65536,timeo=600,nfsvers=4"
|
||||
device: "${RADARR_BACKUPS_NFS_DEVICE}"
|
||||
|
||||
networks:
|
||||
arr_network:
|
||||
external: true
|
||||
Reference in new issue
Block a user