Compare commits
2 Commits
274c10a56f
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a05eac7762 | ||
|
|
58e9e99b64 |
13
docker-compose.yml
Normal file
13
docker-compose.yml
Normal 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
16
navidrome.service
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user