Track `mtg-config.toml.example` with `secret = "${MTG_SECRET}"`; the
rendered `mtg-config.toml` and local `.env` are gitignored, so the
secret never lands in a tracked file.
Quick start switches from "paste the secret into mtg-config.toml" to
either `envsubst < mtg-config.toml.example > mtg-config.toml` or
`cp` + hand-edit `${MTG_SECRET}` for users without envsubst.
After #502 made DOMAIN env-driven, the secret was the last hand-edit
of a tracked file in the example. Follow-up to #506.
pull/525/head
|
|
||
|
1 |
|
|
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
||
| 29 |
|
29 |
|
| 30 |
|
30 |
|
| 31 |
|
31 |
|
| 32 |
|
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
| 33 |
|
37 |
|
| 34 |
|
38 |
|
| 35 |
|
39 |
|
|
|
||
| 120 |
|
124 |
|
| 121 |
|
125 |
|
| 122 |
|
126 |
|
| 123 |
|
|
|
|
127 |
|
|
|
128 |
|
|
| 124 |
|
129 |
|
| 125 |
|
130 |
|
|
|
||
| 10 |
|
10 |
|
| 11 |
|
11 |
|
| 12 |
|
12 |
|
| 13 |
|
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
|
|
| 14 |
|
16 |
|
| 15 |
|
17 |
|
| 16 |
|
18 |
|
|
|
||
| 1 |
|
|
|
|
1 |
|
|
| 2 |
|
2 |
|
| 3 |
|
|
|
| 4 |
|
|
|
| 5 |
|
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
|
|
| 6 |
|
12 |
|
| 7 |
|
|
|
|
13 |
|
|
| 8 |
|
14 |
|
| 9 |
|
15 |
|
| 10 |
|
16 |
|