mirror of
https://github.com/casjaysdevdocker/navidrome
synced 2025-01-18 18:34:24 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
bcdf2b2a58
commit
a24843c3bd
@ -21,6 +21,7 @@ docker run -d \
|
|||||||
-v $HOME/.local/share/docker/storage/music/music/data:/data \
|
-v $HOME/.local/share/docker/storage/music/music/data:/data \
|
||||||
-v $HOME/.local/share/docker/storage/music/music/config:/config \
|
-v $HOME/.local/share/docker/storage/music/music/config:/config \
|
||||||
-p 80:80 \
|
-p 80:80 \
|
||||||
|
-p 6600:6600 \
|
||||||
casjaysdevdocker/music:latest
|
casjaysdevdocker/music:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -94,6 +94,9 @@ fi
|
|||||||
[ -f "/etc/.env.sh" ] && rm -Rf "/etc/.env.sh"
|
[ -f "/etc/.env.sh" ] && rm -Rf "/etc/.env.sh"
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# Additional commands
|
# Additional commands
|
||||||
|
if [ ! -L "/etc/nginx/http.d/default.conf" ]; then
|
||||||
|
ln -sf "/config/nginx/navidrome.conf" "/etc/nginx/http.d/default.conf"
|
||||||
|
fi
|
||||||
|
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
case "$1" in
|
case "$1" in
|
||||||
@ -119,7 +122,9 @@ healthcheck) # Docker healthcheck
|
|||||||
|
|
||||||
*) # Execute primary command
|
*) # Execute primary command
|
||||||
if [ $# -eq 0 ]; then
|
if [ $# -eq 0 ]; then
|
||||||
__exec_bash "/bin/bash"
|
[ -f "/data/mpd/mpd.pid" ] && rm -Rf "/data/mpd/mpd.pid"
|
||||||
|
mpd --no-daemon /config/mpd/mpd.conf &
|
||||||
|
navidrome --configfile /config/navidrome/navidrome.toml
|
||||||
else
|
else
|
||||||
__exec_bash "/bin/bash"
|
__exec_bash "/bin/bash"
|
||||||
fi
|
fi
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
# Files and directories #######################################################
|
# Files and directories #######################################################
|
||||||
music_directory "/data/music"
|
music_directory "/data/music"
|
||||||
playlist_directory "/data/playlists"
|
playlist_directory "/data/playlists"
|
||||||
db_file "/data/mpd/database/tag_cache"
|
state_file "/data/mpd/state"
|
||||||
log_file "/data/mpd/mpd.log"
|
log_file "/data/mpd/mpd.log"
|
||||||
pid_file "/data/mpd/mpd.pid"
|
pid_file "/data/mpd/mpd.pid"
|
||||||
state_file "/data/mpd/database/state"
|
db_file "/data/mpd/tag_cache"
|
||||||
sticker_file "/data/mpd/database/sticker.sql"
|
sticker_file "/data/mpd/sticker.sql"
|
||||||
user "mpd"
|
user "mpd"
|
||||||
bind_to_address "0.0.0.0"
|
bind_to_address "0.0.0.0"
|
||||||
port "6600"
|
port "6600"
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
server {
|
server {
|
||||||
listen 80 default_server;
|
listen 80 default_server;
|
||||||
listen [::]:80 default_server;
|
listen [::]:80 default_server;
|
||||||
server_name *;
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
# replace local-address with your navidrome server's IP
|
# replace local-address with your navidrome server's IP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user