mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-18 00:26:29 +00:00
The .env.example carried real device names ("Sound Machinechen", "A
Sound Machine") and the maintainer's home-LAN IPs (192.168.178.x).
This repo is public — see CLAUDE.md "What never goes into this repo".
Swapped in:
- generic device names ("Living Room SoundTouch", "Kitchen SoundTouch")
- RFC-5737 documentation IPs (192.0.2.10 / 192.0.2.11), which are
reserved exclusively for examples and won't collide with anyone's
real network
The default active line (PREFERRED_DEVICES=…192.168.1.100…) is left
alone for now — that's a different cleanup decision (broader sweep
of 192.168.1.* still pending; see _/RFC-5737-cleanup/assessment.md).
First step on rfc-5737-cleanup. Remaining Phase 1 docs follow in
separate commits.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
80 lines
3.0 KiB
Bash
80 lines
3.0 KiB
Bash
# Bose SoundTouch Configuration
|
|
# Copy this file to .env and customize for your setup
|
|
|
|
# Docker/Service Settings
|
|
SOUNDTOUCH_HOSTNAME=soundtouch.local
|
|
SOUNDTOUCH_VERSION=latest
|
|
|
|
# Stockholm frontend (used by make prepare-stockholm and by the Go service at startup)
|
|
# BACKEND_URL is the base URL your speakers and browser can reach the service at.
|
|
# Corresponds to SERVER_URL in the Go service.
|
|
# BACKEND_URL=http://soundtouch.local:8000
|
|
#
|
|
# STREAMING_URL is used for streaming.bose.com rewrites (defaults to BACKEND_URL).
|
|
# Set to $(BACKEND_URL)/marge only when routing through a soundcork backend.
|
|
# STREAMING_URL=http://soundtouch.local:8000
|
|
#
|
|
# AUTH_SERVICE_URL is written into config.json as the auth endpoint (defaults to BACKEND_URL).
|
|
# A trailing slash is added automatically; the JS appends paths like "oauth/account/..." directly.
|
|
# AUTH_SERVICE_URL=http://soundtouch.local:8000
|
|
#
|
|
# STOCKHOLM_BASE_PATH mounts the Stockholm UI under a URL prefix, freeing / for the management UI.
|
|
# The bridge API (/api/native/*, /api/http-proxy) remains at root regardless of this setting.
|
|
# Defaults to /stockholm. Set to empty to serve at root.
|
|
# STOCKHOLM_BASE_PATH=/stockholm
|
|
|
|
# Discovery Settings
|
|
DISCOVERY_TIMEOUT=5s
|
|
UPNP_ENABLED=true
|
|
|
|
# HTTP Client Settings
|
|
HTTP_TIMEOUT=10s
|
|
USER_AGENT="Bose-SoundTouch-Go-Client/1.0"
|
|
|
|
# Cache Settings
|
|
CACHE_ENABLED=true
|
|
CACHE_TTL=30s
|
|
|
|
# Preferred Devices Configuration
|
|
# Format: name@host:port;name@host:port;...
|
|
# - name is optional (will default to "SoundTouch-{host}")
|
|
# - port is optional (will default to 8090)
|
|
# - Multiple devices are separated by semicolons
|
|
|
|
# Examples:
|
|
# Single device with default port:
|
|
# PREFERRED_DEVICES="192.168.1.100"
|
|
|
|
# Single device with custom name:
|
|
# PREFERRED_DEVICES="Living Room@192.168.1.100"
|
|
|
|
# Single device with custom port:
|
|
# PREFERRED_DEVICES="192.168.1.100:8091"
|
|
|
|
# Multiple devices with mixed configurations:
|
|
PREFERRED_DEVICES="Living Room@192.168.1.100:8090;Kitchen@192.168.1.101;192.168.1.102:8091"
|
|
|
|
# Example — replace with your speakers' names and IPs:
|
|
# PREFERRED_DEVICES="Living Room SoundTouch@192.0.2.10;Kitchen SoundTouch@192.0.2.11"
|
|
|
|
# Alternative format examples:
|
|
# PREFERRED_DEVICES="192.0.2.10;192.0.2.11"
|
|
# PREFERRED_DEVICES="SoundTouch 10@192.0.2.10;SoundTouch 20@192.0.2.11"
|
|
|
|
# Spotify Integration
|
|
# Create an app at https://developer.spotify.com/dashboard
|
|
# SPOTIFY_CLIENT_ID=your_client_id
|
|
# SPOTIFY_CLIENT_SECRET=your_client_secret
|
|
# Auth confirmation url using GET, works in browsers
|
|
# SPOTIFY_REDIRECT_URI=https://your-server.example.com/mgmt/spotify/callback
|
|
# Auth confirmation url using POST, works with the ueberboese-app (https://github.com/julius-d/ueberboese-app)
|
|
# SPOTIFY_REDIRECT_URI=https://your-server.example.com/mgmt/spotify/confirm
|
|
|
|
# Management API Authentication
|
|
# Protects /mgmt/* endpoints (Spotify token access, account management)
|
|
MGMT_USERNAME=admin
|
|
MGMT_PASSWORD=change_me!
|
|
|
|
# External base URL (required when behind a reverse proxy for OAuth callbacks)
|
|
# BASE_URL=https://your-server.example.com
|