Files
kosmo-connect/firmware/infrastructure-node/bridge-daemon/kosmo-bridge.service
Tomas Kracmar 0a4fb7b55e
Some checks failed
CI / lint-docs (push) Has been cancelled
CI / build-firmware (push) Has been cancelled
CI / test-backend (push) Has been cancelled
CI / test-web (push) Has been cancelled
feat: initial KosmoConnect platform v0.1
Includes:
- Backend services: ingestion (:8001), weather API (:8002),
  gateway (:8003), billing (:8004) with BTCPay integration
- Shared asyncpg pool, TimescaleDB hypertable, Redis, Mosquitto MQTT
- React frontend: Dashboard (MapLibre) and Messaging (chat UI)
- Bridge daemon for Pi + Meshtastic (Serial/TCP T-Deck support)
- Production Docker Compose, Nginx reverse proxy, ops scripts
- DEPLOY.md with step-by-step deployment guide
2026-04-12 17:30:15 +02:00

23 lines
554 B
Desktop File

[Unit]
Description=KosmoConnect Bridge Daemon
After=network.target
[Service]
Type=simple
User=kosmo
Group=kosmo
WorkingDirectory=/opt/kosmo-bridge
Environment="PYTHONUNBUFFERED=1"
Environment="MQTT_HOST=mqtt.kosmoconnect.example"
Environment="MQTT_PORT=1883"
Environment="MESHTASTIC_DEVICE=/dev/ttyUSB0"
# Environment="MESHTASTIC_HOST=192.168.1.45"
# Environment="MESHTASTIC_TCP_PORT=4403"
Environment="GATEWAY_NODE_ID=!gateway01"
ExecStart=/opt/kosmo-bridge/venv/bin/python -m src.main
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target