Rename live-usb service files, hook scripts, and package lists from soosef to fieldwitness. Fix remaining VERISOO_ env vars in docker compose and kubernetes configs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
34 lines
878 B
YAML
34 lines
878 B
YAML
services:
|
|
fieldwitness:
|
|
build:
|
|
context: .. # Project root directory
|
|
dockerfile: docker/Dockerfile
|
|
container_name: fieldwitness
|
|
ports:
|
|
- "35811:35811"
|
|
environment:
|
|
FIELDWITNESS_DATA_DIR: /root/.fwmetadata
|
|
FIELDWITNESS_PORT: "35811"
|
|
FIELDWITNESS_WORKERS: "2"
|
|
FIELDWITNESS_HTTPS_ENABLED: "${FIELDWITNESS_HTTPS_ENABLED:-false}"
|
|
FIELDWITNESS_CHANNEL_KEY: "${FIELDWITNESS_CHANNEL_KEY:-}"
|
|
volumes:
|
|
- fieldwitness-data:/root/.fwmetadata
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-fs", "--max-time", "3", "http://localhost:35811/"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
start_period: 15s
|
|
retries: 3
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 2048M
|
|
reservations:
|
|
memory: 512M
|
|
|
|
volumes:
|
|
fieldwitness-data:
|
|
driver: local
|