You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,7 +110,7 @@ apps:
110
110
# Environment variables
111
111
env:
112
112
NODE_ENV: production
113
-
secrets:
113
+
secrets:# config keys managed directly in Dokku
114
114
- SECRET_KEY
115
115
116
116
# Linked services
@@ -231,7 +231,7 @@ global:
231
231
232
232
Env vars are omitted by default from `inspect` output because they typically contain secrets. Use `--include-env` to include them.
233
233
234
-
The `secrets` field lets you reference environment variables by name. At apply time, values are pulled from the host's environment so secrets never appear in the YAML file:
234
+
The `secrets` field lists config keys that are managed directly in Dokku (via `dokku config:set`). Apply never reads or writes their values — it only excludes them from env drift detection so they aren't flagged or unset. Set them once with `dokku config:set myapp SECRET_KEY=value` and dokkufile will leave them alone:
0 commit comments