mirror of
https://github.com/BradGroux/veritas-kanban.git
synced 2026-08-28 02:44:59 +00:00
* fix: centralize runtime state paths * chore: realign reviewed secret fingerprint * test: cover legacy security migration * test: isolate centralized runtime paths * fix: address runtime path review findings * test: include runtime health in critical coverage * chore: realign deployment secret fingerprint * test: stabilize provider coverage * test: cover reflection job storage * test: secure health route temp files
47 lines
1.7 KiB
YAML
47 lines
1.7 KiB
YAML
# =============================================================================
|
|
# Veritas Kanban — Docker Compose (Local Testing)
|
|
# =============================================================================
|
|
# Usage:
|
|
# docker compose up --build # Build and start
|
|
# docker compose up -d # Start in background
|
|
# docker compose down # Stop and remove
|
|
# docker compose logs -f # Follow logs
|
|
#
|
|
# LOCAL TESTING ONLY:
|
|
# - Binds to 127.0.0.1 by default. Do not use this file as production config.
|
|
# - The demo key below is not a deployment credential.
|
|
# =============================================================================
|
|
|
|
services:
|
|
veritas-kanban:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: veritas-kanban-demo
|
|
# Kept aligned with the image entrypoint; persistent paths resolve from DATA_DIR.
|
|
working_dir: /app/server
|
|
ports:
|
|
# Demo instance port (do NOT use production 3001)
|
|
- '127.0.0.1:3099:3001'
|
|
environment:
|
|
- NODE_ENV=production
|
|
- PORT=3001
|
|
- DATA_DIR=/app/data
|
|
# Demo auth key (Arcade walkthrough). Replace before reusing this config.
|
|
- VERITAS_ADMIN_KEY=demo-admin-key-for-product-hunt-2026
|
|
# Host -> container requests come from bridge IP (not 127.0.0.1), so keep API key enabled.
|
|
- VERITAS_AUTH_LOCALHOST_BYPASS=false
|
|
volumes:
|
|
# Persist demo data across container restarts
|
|
- kanban-demo-data:/app/data
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ['CMD', 'wget', '--no-verbose', '--tries=1', '--spider', 'http://localhost:3001/health']
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 10s
|
|
|
|
volumes:
|
|
kanban-demo-data:
|
|
driver: local
|