Add a dismissable welcome modal that walks first-time users through the proper annotation sequence (slider to end → check open ROIs → slider to start → arrow-key fine-tune → click). Stays hidden after the first "Got it" via localStorage; the ? button in the header reopens it any time. Picker keyboard shortcuts are inert while the modal is showing. Container exposes 8085 instead of 8000 (8000 was free, but Giorgio's preferred 8082 is already in use on this host; 8085 is the closest free port). Internal port stays 8000 so the FastAPI app is unchanged. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
21 lines
955 B
YAML
21 lines
955 B
YAML
services:
|
|
picker:
|
|
build: .
|
|
image: cupido-barrier-picker
|
|
container_name: cupido-barrier-picker
|
|
ports:
|
|
- "8085:8000"
|
|
volumes:
|
|
# Project data volume (videos + tracking DBs + merged TSV) — read-only.
|
|
- /mnt/data/projects/cupido:/mnt/data/projects/cupido:ro
|
|
# Source video tree — mount at the same path the inventory references
|
|
# (so the mp4_path strings in video_inventory.csv resolve unchanged).
|
|
- /mnt/ethoscope_data/videos:/mnt/ethoscope_data/videos:ro
|
|
# Repo's data/metadata folder — mount read-write so the app can persist
|
|
# barrier_opening.csv. Adjust the host path to your local checkout.
|
|
- ../../data/metadata:/cupido/data/metadata:rw
|
|
environment:
|
|
CUPIDO_DATA_VOLUME: /mnt/data/projects/cupido
|
|
CUPIDO_INVENTORY_CSV: /cupido/data/metadata/video_inventory.csv
|
|
CUPIDO_OUTPUT_CSV: /cupido/data/metadata/barrier_opening.csv
|
|
restart: unless-stopped
|