Files
managed-portal/managed/store_dwell_alert/docker-compose.yml
2026-04-27 10:04:36 +08:00

22 lines
554 B
YAML

services:
store-dwell-alert:
build:
context: .
dockerfile: Dockerfile
image: store-dwell-alert:local
container_name: store-dwell-alert
ports:
- "18081:18081"
environment:
CAMERA_ID: ${CAMERA_ID:-store_cam_01}
RTSP_URL: ${RTSP_URL:-}
EVENT_SINK_PATH: ${EVENT_SINK_PATH:-logs/events.jsonl}
API_HOST: 0.0.0.0
API_PORT: 18081
CONFIG_PATH: /app/config/local.yaml
volumes:
- ./config:/app/config
- ./data:/app/data
- ./logs:/app/logs
restart: unless-stopped