45 lines
1.5 KiB
Bash
45 lines
1.5 KiB
Bash
# audioserver — environment configuration
|
|
# Copy this to .env and edit as needed.
|
|
|
|
# BeoCreate Pi address (for the Nginx → hifiberrydsp proxy)
|
|
BEOCREATE_HOST=192.168.178.53
|
|
BEOCREATE_PORT=13141
|
|
# Host directory for audio FIFOs (mopidy.fifo, turntable.fifo)
|
|
# Must exist and contain the FIFOs before starting the stack.
|
|
# Run: ./scripts/init-pipes.sh
|
|
AUDIO_PIPES_DIR=/home/admin/appdata/audioserver/pipes
|
|
|
|
# Host directory for local music library (read-only mount into Mopidy)
|
|
MUSIC_DIR=/mnt/local/music
|
|
# Port the web frontend listens on
|
|
FRONTEND_PORT=8180
|
|
|
|
# Timezone (used by Mopidy)
|
|
TZ=Europe/Vienna
|
|
|
|
# HiFiBerry ALSA card name on the host (for turntable capture)
|
|
# Check with: arecord -l
|
|
HIFIBERRY_CARD=sndrpihifiberry
|
|
|
|
# Icecast2 streaming server passwords
|
|
ICECAST_SOURCE_PASSWORD=groove_source
|
|
ICECAST_RELAY_PASSWORD=groove_relay
|
|
ICECAST_ADMIN_PASSWORD=groove_admin
|
|
# Listener password — mobile app uses this to authenticate when playing the stream
|
|
ICECAST_LISTENER_PASSWORD=groove_listen
|
|
|
|
# Spotify credentials for mopidy-spotify
|
|
SPOTIFY_CLIENT_ID=b168b3fa4c124a5e91cfeb6c2af23fc0
|
|
SPOTIFY_CLIENT_SECRET=e357609b4aa74752aca03a9ba58c3978
|
|
|
|
# IP/hostname of this Pi as seen by LAN clients (Snapserver HTTP host, Mopidy/Iris)
|
|
SNAPSERVER_HOST=192.168.178.100
|
|
|
|
# Beets web service host (mopidy-beets)
|
|
BEETS_HOST=192.168.178.100
|
|
|
|
# IP addresses of TCP Snapcast sources (remote snapclients streaming in)
|
|
TCP_POP_HOST=192.168.178.95
|
|
TCP_TP_HOST=192.168.178.89
|
|
TCP_FRAMEWORK_HOST=192.168.178.183
|