-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdeploy.config.example
More file actions
82 lines (60 loc) · 2.25 KB
/
deploy.config.example
File metadata and controls
82 lines (60 loc) · 2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# Trinity Deployment Configuration
# Copy this file to deploy.config and fill in your values
# DO NOT commit deploy.config to git
# ===========================================
# GCP Configuration
# ===========================================
# Your GCP project ID
GCP_PROJECT="your-gcp-project-id"
# Zone where your VM is located
GCP_ZONE="us-central1-a"
# Name of your GCP VM instance
GCP_INSTANCE="your-vm-name"
# External IP of your VM (or leave empty to auto-detect)
GCP_EXTERNAL_IP=""
# ===========================================
# Domain Configuration
# ===========================================
# Your domain name (e.g., trinity.example.com)
DOMAIN="your-domain.com"
# Backend URL (used for OAuth callbacks)
BACKEND_URL="https://${DOMAIN}/api"
# ===========================================
# Port Configuration
# ===========================================
# Trinity services ports (standard ports for production)
BACKEND_PORT="8000"
FRONTEND_PORT="80"
MCP_PORT="8080"
# Agent SSH port range start (agents use consecutive ports)
AGENT_SSH_PORT_START="2222"
# ===========================================
# Authentication
# ===========================================
# Admin password for dev mode (change this!)
ADMIN_PASSWORD="changeme"
# Secret key for JWT tokens (generate with: openssl rand -hex 32)
SECRET_KEY=""
# ===========================================
# OAuth Credentials (optional, for Google/Slack integrations)
# ===========================================
# Google OAuth (get from Google Cloud Console)
GOOGLE_CLIENT_ID=""
GOOGLE_CLIENT_SECRET=""
# Slack OAuth (get from Slack API)
SLACK_CLIENT_ID=""
SLACK_CLIENT_SECRET=""
# GitHub OAuth (get from GitHub Developer Settings)
GITHUB_CLIENT_ID=""
GITHUB_CLIENT_SECRET=""
# ===========================================
# Remote Directory & Paths
# ===========================================
# Where Trinity is deployed on the remote VM
REMOTE_DIR="~/trinity-platform"
# Full paths on the remote host (required for docker-compose.prod.yml)
# These are absolute paths to the config directories
HOST_TEMPLATES_PATH="${REMOTE_DIR}/config/agent-templates"
HOST_META_PROMPT_PATH="${REMOTE_DIR}/config/trinity-meta-prompt"
# Where to store Trinity data (SQLite database)
TRINITY_DATA_PATH="${REMOTE_DIR}/trinity-data"