docs: note [SERVER_CERT] COMMON_NAME is required to start
Verified by building the Docker image and running it: a reflector with no
SERVER_CERT/COMMON_NAME aborts at startup ('SERVER_CERT/COMMON_NAME is unset
... Initialization failed') and, under restart: unless-stopped, crash-loops.
Setting COMMON_NAME lets it auto-generate its CA + server cert and start
cleanly (/status responds). The earlier minimal configs omitted it.
- README quick start: add [SERVER_CERT] COMMON_NAME to the minimal config with
a 'required — aborts without it' note.
- docs/DOCKER.md: flag COMMON_NAME as required in step 1 and note the
crash-loop failure mode.
This commit is contained in:
1 parent
594eee2056
commit
7e625dd514
2 files changed
+18
-8
No files matched your search
+8
-5
@@ -36,11 +36,14 @@ cp src/svxlink/reflector/svxreflector.conf.in config/svxreflector.conf
|
||||
# then edit config/svxreflector.conf
|
||||
```
|
||||
|
||||
At minimum set `LISTEN_PORT`, add a `[USERS]`/`[PASSWORDS]` entry for your node,
|
||||
and (for trunking) `LOCAL_PREFIX` plus the `[TRUNK_x]` sections. See the
|
||||
[README quick start](../README.md#quick-start--one-standalone-reflector) for a
|
||||
minimal standalone config and [`docs/INSTALL.md`](INSTALL.md) for the trunking
|
||||
additions.
|
||||
At minimum set `LISTEN_PORT`, set `[SERVER_CERT] COMMON_NAME` (**required** — the
|
||||
reflector aborts at startup without it, and with `restart: unless-stopped` the
|
||||
container then crash-loops), add a `[USERS]`/`[PASSWORDS]` entry for your node,
|
||||
and (for trunking) `LOCAL_PREFIX` plus the `[TRUNK_x]` sections. The reflector
|
||||
auto-generates its CA and server certificate into the `pki` volume on first run.
|
||||
See the [README quick start](../README.md#quick-start--one-standalone-reflector)
|
||||
for a minimal standalone config and [`docs/INSTALL.md`](INSTALL.md) for the
|
||||
trunking additions.
|
||||
|
||||
The file is mounted read-only; edit it on the host and restart the container to
|
||||
apply changes (or use the PTY interface for live user/password reloads — see
|
||||
|
||||
Reference in new issue
Block a user