detached eb6fc8c

docs(wiki): fix misleading env vars in container guide

Remove potentially non-working environment variables for nested config
options (registry_auth.*). Without SetEnvKeyReplacer in viper config,
these env vars won't map correctly. Recommend using config file instead.
commit
eb6fc8cd19ecad1cfcdb336dce2b8c48f2b4cce8
author
brice · · 2026-01-16 06:31 UTC
parent
183e585
signature
GPG VerifiedCD88F9E564E0102646FB6077A1A07C7C7C3E349D · arch-gpg Verified for the committer email
1 file · +12 -7
M wiki/guides/running-in-container.md +12 -7
@@ -213,18 +213,23 @@ systemctl --user enable --now gordon
213213
214214 ### Environment Variables
215215
216-All configuration options can be set via environment variables with `GORDON_` prefix:
216+Some configuration options can be set via environment variables with `GORDON_` prefix.
217+
218+> **Note**: Environment variables work best for simple options. For nested configuration like `registry_auth`, use a mounted config file instead.
217219
218220 | Variable | Description | Example |
219221 |----------|-------------|---------|
220-| `GORDON_SERVER_PORT` | Proxy port | `8080` |
221-| `GORDON_SERVER_REGISTRY_PORT` | Registry port | `5000` |
222222 | `GORDON_SERVER_REGISTRY_DOMAIN` | Registry domain (required) | `registry.mydomain.com` |
223-| `GORDON_SERVER_DATA_DIR` | Data directory | `/data` |
224223 | `GORDON_LOGGING_LEVEL` | Log level | `debug`, `info`, `warn`, `error` |
225-| `GORDON_REGISTRY_AUTH_ENABLED` | Enable registry auth | `true` |
226-| `GORDON_REGISTRY_AUTH_USERNAME` | Registry username | `admin` |
227-| `GORDON_REGISTRY_AUTH_PASSWORD` | Registry password | `secret` |
224+
225+For registry authentication and other nested options, use a config file:
226+
227+```toml
228+[registry_auth]
229+enabled = true
230+username = "admin"
231+password = "secret"
232+```
228233
229234 ## Security Considerations
230235
@@ -213,18 +213,23 @@ systemctl --user enable --now gordon
213 213
214 ### Environment Variables214 ### Environment Variables
215 215
216-All configuration options can be set via environment variables with `GORDON_` prefix:216+Some configuration options can be set via environment variables with `GORDON_` prefix.
217+
218+> **Note**: Environment variables work best for simple options. For nested configuration like `registry_auth`, use a mounted config file instead.
217 219
218 | Variable | Description | Example |220 | Variable | Description | Example |
219 |----------|-------------|---------|221 |----------|-------------|---------|
220-| `GORDON_SERVER_PORT` | Proxy port | `8080` |
221-| `GORDON_SERVER_REGISTRY_PORT` | Registry port | `5000` |
222 | `GORDON_SERVER_REGISTRY_DOMAIN` | Registry domain (required) | `registry.mydomain.com` |222 | `GORDON_SERVER_REGISTRY_DOMAIN` | Registry domain (required) | `registry.mydomain.com` |
223-| `GORDON_SERVER_DATA_DIR` | Data directory | `/data` |
224 | `GORDON_LOGGING_LEVEL` | Log level | `debug`, `info`, `warn`, `error` |223 | `GORDON_LOGGING_LEVEL` | Log level | `debug`, `info`, `warn`, `error` |
225-| `GORDON_REGISTRY_AUTH_ENABLED` | Enable registry auth | `true` |224+
226-| `GORDON_REGISTRY_AUTH_USERNAME` | Registry username | `admin` |225+For registry authentication and other nested options, use a config file:
227-| `GORDON_REGISTRY_AUTH_PASSWORD` | Registry password | `secret` |226+
227+```toml
228+[registry_auth]
229+enabled = true
230+username = "admin"
231+password = "secret"
232+```
228 233
229 ## Security Considerations234 ## Security Considerations
230 235

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