2.0.1 dcf7d6b

development.toml RawHistoryFolder

1# Gordon v2 - Development Configuration Example
2# For local development and testing
3
4[server]
5port = 8080
6registry_port = 5000
7registry_domain = "localhost:8080"  # Use localhost for local development
8runtime = "auto"  # auto-detects Docker/Podman
9ssl_email = "dev@localhost"
10data_dir = "./dev-data"
11
12[registry_auth]
13enabled = false  # Disable auth for easier local development
14
15# Local development routes using .local domains
16[routes]
17"app.local" = "myapp:latest"           # Main app - latest build
18"api.local" = "myapi:latest"           # API service  
19"admin.local" = "admin:latest"         # Admin interface
20"docs.local" = "docs:latest"           # Documentation
21
22# Test different versions locally
23"app-v1.local" = "myapp:v1.0.0"        # Test older version
24"app-v2.local" = "myapp:v2.0.0"        # Test newer version
25
26# Third-party services for development
27"db-admin.local" = "phpmyadmin:latest" # Database admin
28"mail.local" = "mailhog/mailhog:latest" # Email testing
29
30# Local development workflow:
31# 1. Add to /etc/hosts:
32#    127.0.0.1    app.local
33#    127.0.0.1    api.local  
34#    127.0.0.1    admin.local
35#    127.0.0.1    docs.local
36#    127.0.0.1    localhost
37#
38# 2. Build your app: docker build -t myapp:latest .
39# 3. Push to local registry: 
40#    docker tag myapp:latest localhost:8080/myapp:latest
41#    docker push localhost:8080/myapp:latest
42# 4. Access at http://app.local:8080
43#
44# No Cloudflare needed - everything runs locally!

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