2.0.0 4803e67

staging.toml RawHistoryFolder

1# Gordon v2 - Staging Configuration Example  
2# For testing and preview environments
3
4[server]
5port = 8080
6registry_port = 5000
7registry_domain = "staging-registry.company.com"
8runtime = "auto"  # auto-detects Docker/Podman
9ssl_email = "devops@company.com"
10data_dir = "./data"
11
12[registry_auth]
13enabled = true
14username = "staging-user"
15password = "staging-pass-123"
16
17# Staging logging configuration
18[logging]
19enabled = true                    # Enable logging for staging debugging
20level = "debug"                   # Verbose logging for troubleshooting
21dir = "./staging-logs"            # Staging-specific log directory
22main_log_file = "gordon.log"      # Main application logs
23proxy_log_file = "proxy.log"      # HTTP proxy traffic logs
24container_log_dir = "containers"  # Container logs subdirectory
25
26# Staging log rotation settings
27max_size = 50                     # Moderate file sizes for staging
28max_backups = 5                   # Keep reasonable history
29max_age = 30                      # Keep logs for 1 month
30compress = true                   # Compress to save space
31
32# Staging environment routes - using branch-based deployments
33[routes]
34"staging.company.com" = "company-app:staging"         # Main staging branch
35"staging-api.company.com" = "company-api:staging"     # API staging
36
37# Feature branch testing
38"feature-auth.company.com" = "company-app:feature-auth"     # Feature branch: auth improvements
39"feature-ui.company.com" = "company-app:feature-ui-redesign" # Feature branch: UI updates
40"hotfix-123.company.com" = "company-app:hotfix-user-login"  # Hotfix branch
41
42# PR preview environments
43"pr-42.company.com" = "company-app:pr-42"            # Pull request #42 preview
44"pr-55.company.com" = "company-app:pr-55"            # Pull request #55 preview
45
46# Development tools
47"staging-admin.company.com" = "admin-panel:develop"   # Admin panel dev version
48
49# Staging workflow:
50# 1. Developer pushes feature branch
51# 2. CI builds and tags: company-app:feature-auth  
52# 3. CI pushes: docker push staging-registry.company.com/company-app:feature-auth
53# 4. Gordon auto-deploys to feature-auth.company.com
54# 5. Team tests at https://feature-auth.company.com
55# 6. Merge to staging → auto-deploy to staging.company.com

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