|
|
@@ -31,7 +31,8 @@ docker run --rm nineseconds/mtg:2 generate-secret --hex YOUR_DOMAIN
|
|
31
|
31
|
# - .env (or export) → DOMAIN=your.domain # used by HAProxy + Caddy
|
|
32
|
32
|
# - render mtg-config.toml from the tracked template
|
|
33
|
33
|
# (the rendered file is gitignored — secret stays out of git):
|
|
34
|
|
-MTG_SECRET=<secret-from-step-2> envsubst < mtg-config.toml.example > mtg-config.toml
|
|
|
34
|
+export MTG_SECRET=... # paste the hex secret from step 2
|
|
|
35
|
+envsubst < mtg-config.toml.example > mtg-config.toml
|
|
35
|
36
|
# (Or `cp mtg-config.toml.example mtg-config.toml` and edit ${MTG_SECRET}
|
|
36
|
37
|
# by hand if you don't have envsubst.)
|
|
37
|
38
|
|