2.0.1 dcf7d6b

saas-multi-tenant.toml RawHistoryFolder

1# Gordon v2 - Multi-Tenant SaaS Configuration Example
2# For SaaS platforms with customer subdomains
3
4[server]
5port = 8080
6registry_port = 5000
7registry_domain = "registry.saas-platform.com" 
8runtime = "auto"  # auto-detects Docker/Podman
9ssl_email = "ops@saas-platform.com"
10data_dir = "/var/lib/gordon"
11
12[registry_auth]
13enabled = true
14username = "deploy"
15password = "secure-deployment-key"
16
17# Multi-tenant customer routes
18[routes]
19# Main platform services
20"app.saas-platform.com" = "saas-frontend:v2.1.0"      # Marketing site
21"admin.saas-platform.com" = "saas-admin:v1.5.0"       # Admin dashboard
22"api.saas-platform.com" = "saas-api:v3.2.1"           # Main API
23
24# Customer tenant subdomains
25"acme-corp.saas-platform.com" = "saas-app:v2.1.0"      # Customer: Acme Corp
26"beta-inc.saas-platform.com" = "saas-app:v2.1.0"       # Customer: Beta Inc  
27"gamma-llc.saas-platform.com" = "saas-app:v2.1.0"      # Customer: Gamma LLC
28
29# Enterprise customers with custom domains
30"portal.acme-corp.com" = "saas-app:v2.1.0"             # Acme's custom domain
31"app.beta-inc.com" = "saas-app:v2.1.0"                 # Beta's custom domain
32
33# Staging/testing tenants
34"demo.saas-platform.com" = "saas-app:latest"           # Demo environment
35"staging-tenant.saas-platform.com" = "saas-app:staging" # Staging tests
36
37# Support tools
38"status.saas-platform.com" = "status-page:v1.0.0"      # Status page
39"docs.saas-platform.com" = "documentation:v2.0.0"      # Customer docs
40
41# Multi-tenant deployment strategy:
42# 1. Single application image serves all tenants
43# 2. Tenant identification via subdomain/domain
44# 3. Application handles tenant routing internally
45# 4. Each tenant gets isolated data/configuration
46# 5. Rolling updates deploy to all tenants simultaneously
47#
48# Scaling strategy:
49# - Start with shared containers (same image, tenant routing)
50# - Move to dedicated containers per tenant if needed
51# - Use Gordon's event system for tenant provisioning automation

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 7

Tags 106

↑↓ moveenter openesc close