One process per drone: seeded patrol kinematics, sensor streams at realistic rates, detection events, hot current/ blocks sealed into Hive-partitioned Parquet, and the compact UDP state broadcast with peer RSSI derivation. Scales via docker compose --scale.
10 lines
237 B
Docker
10 lines
237 B
Docker
FROM python:3.12-slim
|
|
|
|
WORKDIR /app
|
|
COPY requirements.txt .
|
|
RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements.txt
|
|
COPY virtual_drone ./virtual_drone
|
|
|
|
ENV DATA_DIR=/data
|
|
CMD ["python", "-m", "virtual_drone.main"]
|