Compare commits

...

2 Commits

Author SHA1 Message Date
Michele Giacomoli
a05eac7762 Aggiunto navidrome.service 2026-03-21 02:47:42 +01:00
Michele Giacomoli
58e9e99b64 Aggiunto docker-compose.yml 2026-03-21 00:41:36 +01:00
2 changed files with 29 additions and 0 deletions

13
docker-compose.yml Normal file
View File

@@ -0,0 +1,13 @@
services:
navidrome:
image: deluan/navidrome:latest
user: 1000:1000 # should be owner of volumes
ports:
- "4533:4533"
restart: unless-stopped
environment:
# Optional: put your config options customization here. Examples:
# ND_LOGLEVEL: debug
ND_ENABLEINSIGHTSCOLLECTOR: false
volumes:
- "./data:/data"

16
navidrome.service Normal file
View File

@@ -0,0 +1,16 @@
[Unit]
Description=Navidrome
Requires=docker.service
After=docker.service
[Service]
WorkingDirectory=/home/michele/corso
ExecStart=/usr/bin/docker compose up
ExecStop=/usr/bin/docker compose down
TimeoutStartSec=0
Restart=on-failure
StartLimitBurst=3
[Install]
WantedBy=multi-user.target