v2.1.0 0fb867d

minimal.toml RawHistoryFolder

1# Gordon v2 - Minimal Configuration Example
2# Perfect for getting started
3
4[server]
5port = 8080
6registry_port = 5000
7registry_domain = "registry.local"
8
9# Secrets backend (optional, defaults to "pass")
10# [secrets]
11# backend = "unsafe"  # Use "unsafe" for local dev without pass/sops
12
13[registry_auth]
14enabled = false  # Disabled for local development
15
16# To enable auth, choose a type:
17# enabled = true
18# type = "password"  # Simple username/password
19# username = "dev"
20# password_hash = "gordon/registry/password_hash"  # Generate with: gordon auth password hash
21#
22# OR for token auth (better for CI):
23# type = "token"
24# token_secret = "gordon/registry/token_secret"
25# Generate tokens with: gordon auth token generate --subject dev --expiry 0
26
27# Optional: Enable basic logging
28# [logging]
29# enabled = true
30# level = "info"
31# dir = "./logs"
32
33# Environment variables (optional)
34[env]
35dir = "./data/env"  # Default location
36
37# Simple routes
38[routes]
39"app.local" = "myapp:latest"
40"api.local" = "myapi:latest"
41
42# Usage:
43# 1. Create env files (optional):
44#    ./data/env/app_local.env
45#    ./data/env/api_local.env
46#
47# 2. Example env file content:
48#    NODE_ENV=production
49#    PORT=3000
50#    DATABASE_URL=postgresql://localhost:5432/app
51#
52# 3. Add to /etc/hosts:
53#    127.0.0.1  app.local
54#    127.0.0.1  api.local
55#    127.0.0.1  registry.local
56#
57# 4. Build and push:
58#    docker build -t myapp:latest .
59#    docker tag myapp:latest registry.local/myapp:latest
60#    docker push registry.local/myapp:latest
61#
62# 5. Access at http://app.local:8080

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