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 @@
|
||||
# Lidarr Docker Compose Environment Variables
|
||||
|
||||
# Image version tag (default: latest)
|
||||
LIDARR_VERSION=latest
|
||||
|
||||
# User and group ID for file permissions (default: 1000)
|
||||
# Must have read/write on the music library and downloads folder
|
||||
LIDARR_PUID=1000
|
||||
LIDARR_PGID=1000
|
||||
|
||||
# Timezone (default: America/Los_Angeles)
|
||||
LIDARR_TZ=America/Los_Angeles
|
||||
|
||||
# Host port to expose the Lidarr web UI (default: 8686)
|
||||
LIDARR_PORT=8035
|
||||
|
||||
# Host path to the music library (mounted at /music)
|
||||
LIDARR_MUSIC_PATH=/mnt/plexlibrary/music
|
||||
|
||||
# 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
|
||||
LIDARR_DOWNLOADS_PATH=/mnt/torrent
|
||||
|
||||
# NFS server hostname or IP address
|
||||
LIDARR_NFS_SERVER=
|
||||
|
||||
# NFS device path for Lidarr backups, mounted at /config/Backups (must include leading colon, e.g. :/mnt/pool/lidarr-backups)
|
||||
LIDARR_BACKUPS_NFS_DEVICE=
|
||||
|
||||
# Static IP on the external arr_network (172.31.0.0/24) so other arr containers can reach Lidarr
|
||||
LIDARR_IP=172.31.0.32
|
||||
@@ -0,0 +1,51 @@
|
||||
services:
|
||||
app:
|
||||
image: linuxserver/lidarr:${LIDARR_VERSION:-latest}
|
||||
container_name: lidarr-app
|
||||
environment:
|
||||
- PUID=${LIDARR_PUID:-1000}
|
||||
- PGID=${LIDARR_PGID:-1000}
|
||||
- TZ=${LIDARR_TZ:-America/Los_Angeles}
|
||||
volumes:
|
||||
- lidarr-config:/config
|
||||
# Lidarr's default backup folder, stored on NFS so backups survive loss of the Docker host
|
||||
- lidarr-backups:/config/Backups
|
||||
- ${LIDARR_MUSIC_PATH}:/music
|
||||
# Same host path + container path as Transmission (/data) so no Remote Path Mapping is needed
|
||||
- ${LIDARR_DOWNLOADS_PATH}:/data
|
||||
ports:
|
||||
- ${LIDARR_PORT:-8686}:8686
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8686/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: ${LIDARR_IP:-172.31.0.32}
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
lidarr-config:
|
||||
name: lidarr-config
|
||||
driver: local
|
||||
lidarr-backups:
|
||||
name: lidarr-backups
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: nfs
|
||||
o: "addr=${LIDARR_NFS_SERVER},rw,noatime,rsize=65536,wsize=65536,timeo=600,nfsvers=4"
|
||||
device: "${LIDARR_BACKUPS_NFS_DEVICE}"
|
||||
|
||||
networks:
|
||||
arr_network:
|
||||
external: true
|
||||
Reference in new issue
Block a user