mirror of
https://github.com/CoolnsX/selfhost_podman.git
synced 2026-06-17 07:22:08 +05:30
Feat: Moved all music related to Music folder, added soulbeet
This commit is contained in:
@@ -0,0 +1,26 @@
|
|||||||
|
TZ=Asia/Kolkata
|
||||||
|
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
|
||||||
|
|
||||||
|
# Soulbeet
|
||||||
|
DATABASE_URL=sqlite:/data/soulbeet.db
|
||||||
|
DOWNLOAD_PATH=/downloads
|
||||||
|
SECRET_KEY=change-me-in-production
|
||||||
|
NAVIDROME_URL=http://navidrome:4533
|
||||||
|
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Music Pod (Soulbeet, Slskd, Navidrome)
|
||||||
|
|
||||||
|
[Pod]
|
||||||
|
PodName=music
|
||||||
|
#PublishPort=9765:9765
|
||||||
|
#PublishPort=4533:4533
|
||||||
|
#PublishPort=5030:5030
|
||||||
|
|
||||||
|
Network=host
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
Description=Navidrome Container
|
Description=Navidrome Container
|
||||||
|
|
||||||
[Container]
|
[Container]
|
||||||
Pod=starrs.pod
|
Pod=music.pod
|
||||||
ContainerName=navidrome
|
ContainerName=navidrome
|
||||||
Image=ghcr.io/navidrome/navidrome:latest
|
Image=ghcr.io/navidrome/navidrome:latest
|
||||||
|
|
||||||
@@ -10,11 +10,11 @@ Image=ghcr.io/navidrome/navidrome:latest
|
|||||||
AutoUpdate=registry
|
AutoUpdate=registry
|
||||||
EnvironmentFile=./.env
|
EnvironmentFile=./.env
|
||||||
|
|
||||||
Volume=%h/podman/starrs/navidrome:/data
|
Volume=%h/podman/music/navidrome:/data
|
||||||
Volume=${DATA}/media/music:/music:ro
|
Volume=${DATA}/media/music:/music:ro
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
EnvironmentFile=%h/.config/containers/systemd/starrs/.env
|
EnvironmentFile=%h/.config/containers/systemd/music/.env
|
||||||
Restart=always
|
Restart=always
|
||||||
TimeoutStartSec=300
|
TimeoutStartSec=300
|
||||||
|
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
Description=Soulseek Container
|
Description=Soulseek Container
|
||||||
|
|
||||||
[Container]
|
[Container]
|
||||||
Pod=starrs.pod
|
Pod=music.pod
|
||||||
ContainerName=slskd
|
ContainerName=slskd
|
||||||
Image=ghcr.io/slskd/slskd:latest
|
Image=ghcr.io/slskd/slskd:latest
|
||||||
|
|
||||||
@@ -10,12 +10,12 @@ Image=ghcr.io/slskd/slskd:latest
|
|||||||
AutoUpdate=registry
|
AutoUpdate=registry
|
||||||
EnvironmentFile=./.env
|
EnvironmentFile=./.env
|
||||||
|
|
||||||
Volume=%h/podman/starrs/slskd:/app
|
Volume=%h/podman/music/slskd:/app
|
||||||
Volume=${DATA}/downloads/soulseek:/downloads
|
Volume=${DATA}/downloads/soulseek:/downloads
|
||||||
Volume=${DATA}/media/music:/music:ro
|
Volume=${DATA}/media/music:/music:ro
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
EnvironmentFile=%h/.config/containers/systemd/starrs/.env
|
EnvironmentFile=%h/.config/containers/systemd/music/.env
|
||||||
Restart=always
|
Restart=always
|
||||||
TimeoutStartSec=300
|
TimeoutStartSec=300
|
||||||
|
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Soulbeet Container
|
||||||
|
|
||||||
|
[Container]
|
||||||
|
Pod=music.pod
|
||||||
|
ContainerName=soulbeet
|
||||||
|
Image=docker.io/docccccc/soulbeet:latest
|
||||||
|
|
||||||
|
# Enable auto-update container
|
||||||
|
AutoUpdate=registry
|
||||||
|
EnvironmentFile=./.env
|
||||||
|
|
||||||
|
Volume=%h/podman/music/soulbeet:/data
|
||||||
|
Volume=${DATA}:/mnt
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
EnvironmentFile=%h/.config/containers/systemd/music/.env
|
||||||
|
Restart=always
|
||||||
|
TimeoutStartSec=300
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
|
|
||||||
Reference in New Issue
Block a user