Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a05eac7762 | ||
|
|
58e9e99b64 |
@@ -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"
|
||||||
@@ -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
|
||||||
|
|
||||||
Reference in New Issue
Block a user