Organizes 11 projects for Cerbo GX/Venus OS into a single repository: - axiom-nmea: Raymarine LightHouse protocol decoder - dbus-generator-ramp: Generator current ramp controller - dbus-lightning: Blitzortung lightning monitor - dbus-meteoblue-forecast: Meteoblue weather forecast - dbus-no-foreign-land: noforeignland.com tracking - dbus-tides: Tide prediction from depth + harmonics - dbus-vrm-history: VRM cloud history proxy - dbus-windy-station: Windy.com weather upload - mfd-custom-app: MFD app deployment package - venus-html5-app: Custom Victron HTML5 app fork - watermaker: Watermaker PLC control UI Adds root README, .gitignore, project template, and per-project .gitignore files. Sensitive config files excluded via .gitignore with .example templates provided. Made-with: Cursor
63 lines
1.5 KiB
YAML
63 lines
1.5 KiB
YAML
# docker-compose.yml for Generator Current Ramp Controller Development
|
|
#
|
|
# Usage:
|
|
# docker-compose build # Build the development image
|
|
# docker-compose run --rm dev bash # Interactive shell
|
|
# docker-compose run --rm dev python overload_detector.py # Run detector tests
|
|
# docker-compose run --rm dev python ramp_controller.py # Run ramp tests
|
|
#
|
|
# Note: Full D-Bus integration requires a real Venus OS device.
|
|
# This environment is for unit testing components.
|
|
|
|
version: '3.8'
|
|
|
|
services:
|
|
dev:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
|
|
volumes:
|
|
# Mount source code for live editing
|
|
- .:/app
|
|
|
|
# Mount test data if you have recorded samples
|
|
# - ./test_data:/app/test_data
|
|
|
|
environment:
|
|
- PYTHONPATH=/app:/app/ext/velib_python
|
|
- PYTHONUNBUFFERED=1
|
|
|
|
# Keep container running for interactive use
|
|
stdin_open: true
|
|
tty: true
|
|
|
|
# Default command
|
|
command: bash
|
|
|
|
# Optional: Mock D-Bus service for integration testing
|
|
# This would require additional setup to mock Venus OS services
|
|
mock-dbus:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
|
|
volumes:
|
|
- .:/app
|
|
- dbus-socket:/var/run/dbus
|
|
|
|
environment:
|
|
- DBUS_SYSTEM_BUS_ADDRESS=unix:path=/var/run/dbus/system_bus_socket
|
|
|
|
command: >
|
|
bash -c "
|
|
dbus-daemon --system --fork &&
|
|
echo 'Mock D-Bus running' &&
|
|
tail -f /dev/null
|
|
"
|
|
|
|
privileged: true
|
|
|
|
volumes:
|
|
dbus-socket:
|