Files
kosmo-connect/backend/docker-compose.yml
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

57 lines
1.3 KiB
YAML

services:
timescaledb:
image: timescale/timescaledb:latest-pg15
container_name: kosmo_timescaledb
environment:
POSTGRES_USER: kosmo
POSTGRES_PASSWORD: kosmo_dev_pass
POSTGRES_DB: kosmoconnect
ports:
- "5432:5432"
volumes:
- timescale_data:/var/lib/postgresql/data
- ./migrations:/docker-entrypoint-initdb.d
healthcheck:
test: ["CMD-SHELL", "pg_isready -U kosmo -d kosmoconnect"]
interval: 5s
timeout: 5s
retries: 5
redis:
image: redis:7-alpine
container_name: kosmo_redis
ports:
- "6379:6379"
volumes:
- redis_data:/data
rabbitmq:
image: rabbitmq:3-management-alpine
container_name: kosmo_rabbitmq
ports:
- "5672:5672"
- "15672:15672"
environment:
RABBITMQ_DEFAULT_USER: kosmo
RABBITMQ_DEFAULT_PASS: kosmo_dev_pass
volumes:
- rabbitmq_data:/var/lib/rabbitmq
mosquitto:
image: eclipse-mosquitto:2
container_name: kosmo_mosquitto
ports:
- "1883:1883"
- "9001:9001"
volumes:
- ./mosquitto.conf:/mosquitto/config/mosquitto.conf
- mosquitto_data:/mosquitto/data
- mosquitto_logs:/mosquitto/log
volumes:
timescale_data:
redis_data:
rabbitmq_data:
mosquitto_data:
mosquitto_logs: