-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
27 lines (27 loc) · 1.04 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
27 lines (27 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
services:
audiod:
# To build with pre-built base images, use: docker-compose -f docker-compose.build.yaml build
build:
dockerfile: Dockerfile
# Optionally specify base images:
# args:
# BASE_IMAGE: ghcr.io/klabast/audiotheque-base:builder
# RUNTIME_IMAGE: ghcr.io/klabast/audiotheque-base:latest
# platform: linux/amd64
ports:
- "8080:8080"
volumes:
# Point the left side at your own music collection.
- /path/to/your/music:/app/music:delegated
- ./server/data:/app/data
environment:
# All env vars use the audiod daemon prefix (internal name).
# MPD hosts + mDNS discovery are configured in the UI, not here.
- AUDIOD_PORT=8080
- AUDIOD_DATA_DIR=/app/data
# Uncomment + tighten if exposing beyond localhost:
# - AUDIOD_ALLOWED_ORIGINS=https://music.example.com
# Pin to a known value to keep sessions valid across restarts
# (otherwise audiod generates a fresh one each boot):
# - JWT_SECRET=change-me
restart: unless-stopped