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
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
[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
|
||||
Reference in New Issue
Block a user