sunken-ship: mulbo-server creds via EnvironmentFile + MULBO_MUSIC_ROOT
Adds: - MULBO_MUSIC_ROOT=/srv/music (for the /folders fs walk) - EnvironmentFile=/home/danny/.secrets/mulbo-server-navidrome (creds for Subsonic API calls — file is mode 600, owned by danny, not in source control) Required for the new /folders endpoint and the upcoming POST /tracks which needs to call search3.view + startScan.view. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
1744d776e2
commit
4debab6f69
1 changed files with 7 additions and 0 deletions
|
|
@ -228,6 +228,7 @@
|
|||
environment = {
|
||||
MULBO_UPLOADS_DIR = "/home/danny/music/mulbo-uploads";
|
||||
MULBO_INDEX_DB = "/var/lib/mulbo-server/index.db";
|
||||
MULBO_MUSIC_ROOT = "/srv/music"; # for /folders fs walk
|
||||
MULBO_NAVIDROME_URL = "http://localhost:4533";
|
||||
MULBO_BIND_HOST = "::";
|
||||
MULBO_BIND_PORT = "8091";
|
||||
|
|
@ -240,6 +241,12 @@
|
|||
RestartSec = 5;
|
||||
User = "danny";
|
||||
StateDirectory = "mulbo-server"; # /var/lib/mulbo-server, owned by danny
|
||||
# Navidrome credentials — file format: KEY=value lines.
|
||||
# Required keys: MULBO_NAVIDROME_USER, MULBO_NAVIDROME_PASS.
|
||||
# Created manually on sunken-ship (mode 600, owned by danny):
|
||||
# echo -e "MULBO_NAVIDROME_USER=DannyDannyDanny\nMULBO_NAVIDROME_PASS=..." > ~/.secrets/mulbo-server-navidrome
|
||||
# chmod 600 ~/.secrets/mulbo-server-navidrome
|
||||
EnvironmentFile = "/home/danny/.secrets/mulbo-server-navidrome";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue