Files
2026-04-27 10:04:36 +08:00

23 lines
581 B
YAML

services:
people-flow-project:
build:
context: .
dockerfile: Dockerfile
image: people-flow-project:local
container_name: people-flow-project
restart: unless-stopped
gpus: all
shm_size: "1gb"
ports:
- "18082:18082"
environment:
CONFIG_PATH: /opt/people-flow/config/local.yaml
RTSP_URL: ${RTSP_URL:-}
OUTPUT_DIR: /opt/people-flow/outputs
API_HOST: 0.0.0.0
API_PORT: 18082
DEVICE: ${DEVICE:-cuda:0}
volumes:
- ./config:/opt/people-flow/config
- ./outputs:/opt/people-flow/outputs