35 lines
1.2 KiB
YAML
35 lines
1.2 KiB
YAML
# Minimal compose for the Phase 0 DoD: build the image, mount a
|
|
# single-file user config, watch the process print its summary line
|
|
# and exit cleanly.
|
|
#
|
|
# Real deployments add a postgres service, raycast-config.json bind,
|
|
# ~/.config/claude bind, etc. — Phase 5 lives in a separate example
|
|
# repo (see PLAN §5.1).
|
|
|
|
services:
|
|
gateway:
|
|
build:
|
|
context: ..
|
|
dockerfile: Dockerfile
|
|
environment:
|
|
DATABASE_URL: "sqlite:///./gateway.db"
|
|
ADMIN_USER: "admin"
|
|
ADMIN_PASS: "change-me"
|
|
SESSION_SECRET: "dev-secret-change-me"
|
|
# Phase 1.4 — comma-separated `name:value` pairs. The frontend
|
|
# 401s every request until at least one token is set.
|
|
BOOTSTRAP_TOKENS: "cursor:dev-token-change-me"
|
|
# RAYCAST_BEARER / RAYCAST_DEVICE_ID + a raycast.json bind go
|
|
# here once you wire up an actual RaycastAgent. The example
|
|
# config.py declares one, so set these (or remove the agent)
|
|
# before exposing port 8000.
|
|
ports:
|
|
# /v1/messages frontend
|
|
- "8000:8000"
|
|
# MCP server frontend
|
|
- "8001:8001"
|
|
# Admin UI (Phase 4.3) — change ADMIN_USER/ADMIN_PASS/SESSION_SECRET
|
|
- "8002:8002"
|
|
volumes:
|
|
- ./config.py:/config/config.py:ro
|