Files
venus/axiom-nmea/nmea-server/docker-compose.yml
dev 9756538f16 Initial commit: Venus OS boat addons monorepo
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
2026-03-16 17:04:16 +00:00

53 lines
1.6 KiB
YAML

services:
nmea-server:
build:
context: ..
dockerfile: nmea-server/Dockerfile
container_name: nmea-server
restart: unless-stopped
# Host network mode required for multicast reception
network_mode: host
# Network capabilities required for proper socket handling
cap_add:
- NET_ADMIN
- NET_RAW
environment:
# Required: IP address of the interface connected to Raymarine network
# This is where multicast data is received from
# Find with: ip addr show | grep "inet "
RAYMARINE_INTERFACE: ${RAYMARINE_INTERFACE:?Set RAYMARINE_INTERFACE to your network interface IP}
# IP address to bind NMEA server (default: 0.0.0.0 = all interfaces)
# Use a specific IP to expose NMEA on a different interface than Raymarine
NMEA_HOST: ${NMEA_HOST:-0.0.0.0}
# NMEA TCP server port (default: 10110)
NMEA_PORT: ${NMEA_PORT:-10110}
# NMEA UDP broadcast port (optional - set to enable UDP)
NMEA_UDP_PORT: ${NMEA_UDP_PORT:-}
# NMEA UDP destination IP (default: 255.255.255.255 broadcast)
NMEA_UDP_DEST: ${NMEA_UDP_DEST:-255.255.255.255}
# Update interval in seconds (default: 1.0)
UPDATE_INTERVAL: ${UPDATE_INTERVAL:-1.0}
# Logging level: DEBUG, INFO, WARNING, ERROR
LOG_LEVEL: ${LOG_LEVEL:-INFO}
# Note: ports mapping not used with host network mode
# The server listens on NMEA_PORT (default 10110) directly on host
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
# Ensure clean shutdown
stop_grace_period: 10s