- Rust agent: clap CLI, command classifier (read-only/modifying/destructive), executor with approval gates, audit log entries - Classifier: pattern-based safety classification for shell, AWS, kubectl, terraform/tofu commands - 6 Rust tests: read-only, destructive, modifying, empty, terraform apply, tofu destroy - SaaS backend: Fastify server, runbook CRUD API, approval API, Slack interactive handler - Slack integration: signature verification, block_actions for approve/reject buttons - PostgreSQL schema with RLS: runbooks, executions, audit_entries (append-only), agents - Dual Dockerfiles: Rust multi-stage (agent), Node multi-stage (SaaS) - Gitea Actions CI: Rust test+clippy, Node typecheck+test - Fly.io config for SaaS
28 lines
448 B
TOML
28 lines
448 B
TOML
app = "dd0c-run"
|
|
primary_region = "iad"
|
|
|
|
[build]
|
|
dockerfile = "saas/Dockerfile"
|
|
|
|
[env]
|
|
NODE_ENV = "production"
|
|
PORT = "3000"
|
|
LOG_LEVEL = "info"
|
|
|
|
[http_service]
|
|
internal_port = 3000
|
|
force_https = true
|
|
auto_stop_machines = true
|
|
auto_start_machines = true
|
|
min_machines_running = 0
|
|
|
|
[http_service.concurrency]
|
|
type = "requests"
|
|
hard_limit = 100
|
|
soft_limit = 80
|
|
|
|
[[vm]]
|
|
cpu_kind = "shared"
|
|
cpus = 1
|
|
memory_mb = 256
|