music assistant reverse proxy

This commit is contained in:
2025-02-27 21:32:21 -07:00
parent b02ee53555
commit 67fe95fdc1
2 changed files with 20 additions and 3 deletions

View File

@@ -199,4 +199,22 @@ server {
location / {
proxy_pass http://immich_server:2283;
}
}
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name sound.alexmickelson.guru;
location / {
proxy_pass http://host.docker.internal:8095;
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_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}

View File

@@ -1,4 +1,3 @@
version: '3.8'
services:
squeezelite:
image: giof71/squeezelite
@@ -6,8 +5,8 @@ services:
network_mode: host
environment:
- SQUEEZELITE_NAME=home-desktop
- SQUEEZELITE_AUDIO_DEVICE=hw:CARD=Generic,DEV=0
# aplay -l
- SQUEEZELITE_AUDIO_DEVICE=hw:CARD=Generic,DEV=0 # aplay -l
# - SQUEEZELITE_SERVER="192.168.1.10:3483"
devices:
- /dev/snd
restart: unless-stopped