feat: enhance LineCrossCounter to deduplicate re-entries and add WindowIdentityResolver for person tracking

chore: update docker-compose for additional host configuration
test: add unit tests for LineCrossCounter and WindowIdentityResolver functionality
This commit is contained in:
2026-05-12 16:09:15 +08:00
parent bc87fb78ea
commit 4e69eca7cb
6 changed files with 223 additions and 24 deletions

View File

@@ -19,8 +19,6 @@ services:
MANAGED_PORTAL_REGISTRY_PATH: "/app/managed_services.yaml"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- "31000-31255:31000-31255"
networks:
- managed-portal
@@ -39,6 +37,8 @@ services:
API_HOST: 0.0.0.0
API_PORT: 18081
CONFIG_PATH: /app/config/local.yaml
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- ${MANAGED_STORE_DWELL_CONFIG_DIR:-../managed/store_dwell_alert/config}:/app/config
- ${MANAGED_STORE_DWELL_DATA_DIR:-../managed/store_dwell_alert/data}:/app/data
@@ -61,6 +61,8 @@ services:
OUTPUT_DIR: /opt/people-flow/outputs
API_HOST: 0.0.0.0
API_PORT: 18082
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- ${MANAGED_PEOPLE_FLOW_CONFIG_DIR:-../managed/people_flow_project/config}:/opt/people-flow/config
- ${MANAGED_PEOPLE_FLOW_OUTPUT_DIR:-../managed/people_flow_project/outputs}:/opt/people-flow/outputs