mirror of
https://github.com/CoolnsX/selfhost_podman.git
synced 2026-04-17 18:39:46 +05:30
Feat: Music Self-hosting and Automation
This commit is contained in:
@@ -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
24
starrs/lidarr.container
Normal 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
|
||||||
|
|
||||||
23
starrs/navidrome.container
Normal file
23
starrs/navidrome.container
Normal 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
24
starrs/slskd.container
Normal 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
|
||||||
|
|
||||||
Reference in New Issue
Block a user