Docs / Self-Hosted Server Quickstart

Self-Hosted Server Quickstart

Deploy Meala with Docker Compose on an on-premise server, NAS, or cloud VM.


Prerequisites

1. Clone & Configure

git clone https://github.com/mealadev/meala.git
cd meala
cp .env.example .env

Edit .env to set your database credentials and organization ingestion API key (ORG_API_KEY).

2. Launch the Stack

docker compose up --build -d

This starts three containers:

3. Automated Hardware / CLI Upload

Any ground station script or onboard ESP32-S3 Wi-Fi bridge can push logs directly over HTTP:

curl -X POST http://localhost:8000/api/v1/flights/upload \
  -H "X-API-Key: your_org_api_key" \
  -F "file=@flight_042.bin" \
  -F "vehicle_uid=TailSitter-VTOL-01" \
  -F "battery_uid=BAT-6S-009" \
  -F "autopilot_type=ArduPilot" \
  -F "pilot=Brandon"