Files
boWave/docker-compose.dev.yml
denshooter 67b9c2ba92 Fix Docker Compose for Mac dev mode
- Replace all ghcr.io images (blocked without auth) with local Dockerfiles:
  snapserver/snapclient from debian:bookworm-slim,
  mopidy from debian:bookworm-slim + Python/GStreamer,
  librespot disabled in dev (v0.8.0 has vergen dep bug)
- Fix duplicate 'image' and 'version' keys in compose files
- Dev mode: zones + librespot use alpine dummy containers
- Dashboard dev: use upstream node:20-alpine directly (no custom build)
- Port changed to 8090 (8080 taken by Supabase)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 15:12:20 +01:00

60 lines
1.4 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Development override run without any hardware.
# Usage: docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d
services:
signalk:
environment:
- SIGNALK_DEMO=true # Built-in demo NMEA data generator
# Librespot disabled in dev dashboard uses mock Spotify data
librespot:
image: alpine:latest
entrypoint: []
command: ["sh", "-c", "echo 'librespot: dev mode, mock active' && sleep infinity"]
restart: "no"
volumes: []
ports: []
# Zones disabled in dev dashboard uses Snapcast mock
zone-salon:
image: alpine:latest
entrypoint: []
command: ["sleep", "infinity"]
restart: "no"
zone-cockpit:
image: alpine:latest
entrypoint: []
command: ["sleep", "infinity"]
restart: "no"
zone-bug:
image: alpine:latest
entrypoint: []
command: ["sleep", "infinity"]
restart: "no"
zone-heck:
image: alpine:latest
entrypoint: []
command: ["sleep", "infinity"]
restart: "no"
# Vite dev server with HMR instead of built nginx image
dashboard:
image: node:20-alpine
entrypoint: []
working_dir: /app
volumes:
- ./dashboard:/app
- /app/node_modules
command: ["sh", "-c", "npm install && npm run dev -- --host 0.0.0.0 --port 8090"]
ports:
- "8090:8090"
environment:
- VITE_SNAPCAST_HOST=localhost
- VITE_SIGNALK_HOST=localhost
- VITE_MOPIDY_HOST=localhost
- VITE_JELLYFIN_HOST=localhost