Initial commit

This commit is contained in:
chk
2026-06-08 19:50:36 +02:00
commit 53db55ba36
39 changed files with 5860 additions and 0 deletions

25
docker-compose.yaml Normal file
View File

@@ -0,0 +1,25 @@
services:
pipeline:
build:
context: .
dockerfile_inline: |
FROM python:3.11-slim
WORKDIR /app
COPY . .
RUN pip install --no-cache-dir .
ENV ROBOT_JSON=/config/robot.json
EXPOSE 8446
HEALTHCHECK --interval=30s --timeout=10s --start-period=15s --retries=3 \
CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:8446/v1/health')"
CMD ["python", "-m", "scripts.api", \
"--robot", "/config/robot.json", \
"--host", "0.0.0.0", "--port", "8446"]
image: approbot/pose-pipeline:1.0.0
container_name: appRobotBodyTracker
restart: unless-stopped
ports:
- "8446:8446"
volumes:
- ./config/robot.json:/config/robot.json:ro
environment:
- ROBOT_JSON=/config/robot.json