Make a docker-compose.yml
file and paste this into it:
services:
lidarr:
container_name: lidarr
hostname: lidarr
### Use custom docker network
#networks:
# - CustomNetworkName
ports:
- 8686:8686
image: lscr.io/linuxserver/lidarr:arm64v8-latest
restart: unless-stopped
volumes:
- /path/to/lidarr/config:/config
- /path/to/music:/music #optional
- /path/to/downloads:/downloads #optional
environment:
- PGID=1000
- PUID=1000
healthcheck:
test: curl --fail localhost:8686 || exit 1
interval: 60s
retries: 5
start_period: 300s
timeout: 2s
This should work for you, just change the volume mounts so that they associate with your setup and run sudo docker compose up -d
to start the container, sudo docker compose down
to bring it down.
LSIO documentation describes the arm64v8-latest
tag for their image.