mirror of
https://github.com/casjaysdevdocker/navidrome
synced 2025-09-18 03:57:47 -04:00
🦈🏠🐜❗ Initial Commit ❗🐜🦈🏠
This commit is contained in:
0
config/.gitkeep
Normal file
0
config/.gitkeep
Normal file
30
config/mpd/mpd.conf
Normal file
30
config/mpd/mpd.conf
Normal file
@@ -0,0 +1,30 @@
|
||||
# Files and directories #######################################################
|
||||
music_directory "/data/music"
|
||||
playlist_directory "/data/playlists"
|
||||
db_file "/data/mpd/database/tag_cache"
|
||||
log_file "/data/mpd/mpd.log"
|
||||
pid_file "/data/mpd/mpd.pid"
|
||||
state_file "/data/mpd/database/state"
|
||||
sticker_file "/data/mpd/database/sticker.sql"
|
||||
user "mpd"
|
||||
bind_to_address "0.0.0.0"
|
||||
port "6600"
|
||||
log_level "default"
|
||||
gapless_mp3_playback "yes"
|
||||
restore_paused "no"
|
||||
save_absolute_paths_in_playlists "yes"
|
||||
metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
|
||||
auto_update "yes"
|
||||
auto_update_depth "5"
|
||||
follow_outside_symlinks "yes"
|
||||
follow_inside_symlinks "yes"
|
||||
zeroconf_enabled "no"
|
||||
zeroconf_name "mpd server"
|
||||
# Character Encoding ##########################################################
|
||||
filesystem_charset "UTF-8"
|
||||
id3v1_encoding "UTF-8"
|
||||
# Input #######################################################################
|
||||
input {
|
||||
plugin "curl"
|
||||
}
|
||||
###############################################################################
|
41
config/navidrome/navidrome.toml
Normal file
41
config/navidrome/navidrome.toml
Normal file
@@ -0,0 +1,41 @@
|
||||
MusicFolder = "/data/music"
|
||||
PlaylistsPath = "/data/playlists:**/**"
|
||||
DataFolder = "/data/navidrome"
|
||||
ScanSchedule = "@every 360m"
|
||||
BaseUrl = "/"
|
||||
Address = "127.0.0.1"
|
||||
Port = 4533
|
||||
EnableTranscodingConfig = true
|
||||
TranscodingCacheSize = "500MB"
|
||||
ImageCacheSize = "100MB"
|
||||
AutoImportPlaylists = true
|
||||
UILoginBackgroundUrl = "https://source.unsplash.com/random/1600x900?music"
|
||||
UIWelcomeMessage = ""
|
||||
EnableCoverAnimation = true
|
||||
RecentlyAddedByModTime = false
|
||||
CoverArtPriority = "embedded, cover.*, folder.*, front.*"
|
||||
CoverJpegQuality = 75
|
||||
EnableDownloads = true
|
||||
SessionTimeout = "720h"
|
||||
AuthRequestLimit = 5
|
||||
AuthWindowLength = "20s"
|
||||
EnableGravatar = false
|
||||
EnableExternalServices = true
|
||||
EnableFavourites = true
|
||||
EnableStarRating = true
|
||||
EnableUserEditing = true
|
||||
DefaultTheme = "Dark"
|
||||
PasswordEncryptionKey = ""
|
||||
#GATrackingID = ""
|
||||
|
||||
# [Scanner]
|
||||
Extractor = "taglib"
|
||||
|
||||
# [LastFM]
|
||||
#Enabled = true
|
||||
#ApiKey = ""
|
||||
#Secret = ""
|
||||
#Language = "en"
|
||||
|
||||
# [ListenBrainz]
|
||||
Enabled = true
|
16
config/nginx/navidrome.conf
Normal file
16
config/nginx/navidrome.conf
Normal file
@@ -0,0 +1,16 @@
|
||||
server {
|
||||
listen 80 default_server;
|
||||
listen [::]:80 default_server;
|
||||
server_name *;
|
||||
|
||||
location / {
|
||||
# replace local-address with your navidrome server's IP
|
||||
proxy_pass http://127.0.0.1:4533/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-Protocol $scheme;
|
||||
proxy_set_header X-Forwarded-Host $http_host;
|
||||
proxy_buffering off;
|
||||
}
|
Reference in New Issue
Block a user