Feat: Music Self-hosting and Automation

This commit is contained in:
coolnsx
2026-04-11 11:44:56 +05:30
parent ebc76ae480
commit 342422632a
4 changed files with 88 additions and 0 deletions

View File

@@ -2,3 +2,20 @@ PUID=1000 # set to 0 to run with podman rootless without uidmap
PGID=1000 # set to 0 to run with podman rootless without uidmap PGID=1000 # set to 0 to run with podman rootless without uidmap
TZ=Asia/Kolkata TZ=Asia/Kolkata
DATA=/path/to/data DATA=/path/to/data
# slskd
SLSKD_REMOTE_CONFIGURATION=false
SLSKD_HTTP_IP_ADDRESS=0.0.0.0
SLSKD_HTTP_LISTEN_IP=0.0.0.0
SLSKD_NO_HTTPS=true
SLSKD_NO_AUTH=false
SLSKD_SLSK_USERNAME=username
SLSKD_SLSK_PASSWORD=password
SLSKD_USERNAME=web_ui_user
SLSKD_PASSWORD=web_ui_pass
SLSKD_DOWNLOADS_DIR=/path/to/downloads/complete
SLSKD_INCOMPLETE_DIR=/path/to/downloads/incomplete
SLSKD_SHARED_DIR=/path/to/music/directory
SLSKD_API_KEY=key_used_by_lidarr_for_requests

24
starrs/lidarr.container Normal file
View File

@@ -0,0 +1,24 @@
[Unit]
Description=Lidarr Container
[Container]
Pod=starrs.pod
ContainerName=lidarr
#Image=ghcr.io/linuxserver/lidarr:latest
Image=ghcr.io/linuxserver/lidarr:nightly
# Enable auto-update container
AutoUpdate=registry
EnvironmentFile=./.env
Volume=%h/podman/starrs/lidarr:/config
Volume=${DATA}:/data
[Service]
EnvironmentFile=%h/.config/containers/systemd/starrs/.env
Restart=always
TimeoutStartSec=300
[Install]
WantedBy=default.target

View File

@@ -0,0 +1,23 @@
[Unit]
Description=Navidrome Container
[Container]
Pod=starrs.pod
ContainerName=navidrome
Image=ghcr.io/navidrome/navidrome:latest
# Enable auto-update container
AutoUpdate=registry
EnvironmentFile=./.env
Volume=%h/podman/starrs/navidrome:/data
Volume=${DATA}/media/music:/music:ro
[Service]
EnvironmentFile=%h/.config/containers/systemd/starrs/.env
Restart=always
TimeoutStartSec=300
[Install]
WantedBy=default.target

24
starrs/slskd.container Normal file
View File

@@ -0,0 +1,24 @@
[Unit]
Description=Soulseek Container
[Container]
Pod=starrs.pod
ContainerName=slskd
Image=ghcr.io/slskd/slskd:latest
# Enable auto-update container
AutoUpdate=registry
EnvironmentFile=./.env
Volume=%h/podman/starrs/slskd:/app
Volume=${DATA}/downloads/soulseek:/downloads
Volume=${DATA}/media/music:/music:ro
[Service]
EnvironmentFile=%h/.config/containers/systemd/starrs/.env
Restart=always
TimeoutStartSec=300
[Install]
WantedBy=default.target