-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (31 loc) · 1.06 KB
/
Copy pathdocker-compose.yml
File metadata and controls
31 lines (31 loc) · 1.06 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
28
29
30
31
services:
sonos:
container_name: sonoscontrol
build:
context: .
dockerfile: Dockerfile
image: sonoscontrol:local
ports:
- "8080:8080"
restart: unless-stopped
environment:
TZ: ${TZ:-Europe/Vienna}
ADMIN_USERNAME: ${ADMIN_USERNAME:-admin}
ADMIN_EMAIL: ${ADMIN_EMAIL:-admin@example.com}
ADMIN_PASSWORD: ${ADMIN_PASSWORD:-ChangeMe123!}
Playback__PublicBaseUrl: ${PLAYBACK_PUBLIC_BASE_URL:-http://192.168.1.50:8080}
Playback__ArtifactDirectory: /app/artifacts/youtube-audio
Playback__SessionTtlMinutes: ${PLAYBACK_SESSION_TTL_MINUTES:-30}
ConnectionStrings__DefaultConnection: Data Source=/app/Data/app.db
ASPNETCORE_URLS: http://+:8080
DataProtection__KeysDirectory: /app/DataProtectionKeys
volumes:
- ./Data:/app/Data
- ./DataProtectionKeys:/app/DataProtectionKeys
- ./artifacts:/app/artifacts
healthcheck:
test: ["CMD", "curl", "-fsS", "http://localhost:8080/healthz"]
interval: 30s
timeout: 5s
retries: 5
start_period: 20s