Update comfigs for best practices
This commit is contained in:
32
lidarr/compose.yml
Normal file
32
lidarr/compose.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
services:
|
||||
lidarr:
|
||||
image: lscr.io/linuxserver/lidarr:3.1.0.4875-ls22
|
||||
container_name: lidarr
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=America/Los_Angeles
|
||||
volumes:
|
||||
- /mnt/storage/apps/lidarr/data:/config
|
||||
- /mnt/storage/media/music:/music
|
||||
- /mnt/storage/downloads/music:/downloads
|
||||
restart: unless-stopped
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8686/ping"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 1G
|
||||
cpus: '1.0'
|
||||
networks:
|
||||
- network
|
||||
networks:
|
||||
network:
|
||||
name: proxy
|
||||
external: true
|
||||
Reference in New Issue
Block a user