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
23 lines
554 B
Desktop File
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
|