docs: fix Docker quick starts and document routable-prefix intl reach
README: - Quick start: drop the Docker command block. The repo ships no ready-to-run svxreflector.conf (only the .conf.in template) and the compose bind-mount hits the 'auto-create a directory' trap, so the inline 'docker compose up' steps fail for a newcomer. Point step 1 at the template and step 2 at INSTALL.md / DOCKER.md instead. - Section 5 routable example: use real countries with ISO-alphabetical section names (TRUNK_DE_IT, TRUNK_DE_FR) per the naming standard, plus a clearly sub-national name for the regional uplink; real MCCs (IT 222, DE 262, FR 208). docs/DOCKER.md: - Rewrite step 1: you must create config/svxreflector.conf before first start; warn about the bind-mount directory trap and how to recover; copy from the .conf.in template; link the README quick start and INSTALL.md. docs/DEPLOYMENT_ITALY.md + _IT.md: - Add a 'Reaching international TGs' section (EN + IT): the national mesh needs an international gateway plus ROUTABLE_PREFIXES on each region's gateway trunk to reach foreign TGs; notes on '*' for a single-uplink leaf and BLACKLIST precedence.
This commit is contained in:
1 parent
ab7ab031e9
commit
594eee2056
4 files changed
+162
-54
No files matched your search
+24
-8
@@ -16,19 +16,35 @@ minimal `debian:bookworm-slim` image.
|
||||
|
||||
## Quick start
|
||||
|
||||
### 1. Prepare the config directory
|
||||
### 1. Create the config file *first*
|
||||
|
||||
`docker-compose.yml` bind-mounts `./config/svxreflector.conf` into the container
|
||||
as a file. **You must create that file before the first `docker compose up`.**
|
||||
|
||||
> **Gotcha:** if `./config/svxreflector.conf` does not exist when the container
|
||||
> starts, Docker silently creates it as an **empty directory**, and the
|
||||
> reflector then fails to start. If that happens, stop the stack, delete the
|
||||
> stray directory (`rm -rf config/svxreflector.conf`), create the file as below,
|
||||
> and start again.
|
||||
|
||||
The repository does not ship a ready-to-run config — it ships the template
|
||||
`src/svxlink/reflector/svxreflector.conf.in`. Start from that:
|
||||
|
||||
```bash
|
||||
mkdir config
|
||||
cp /path/to/your/svxreflector.conf config/svxreflector.conf
|
||||
mkdir -p config
|
||||
cp src/svxlink/reflector/svxreflector.conf.in config/svxreflector.conf
|
||||
# then edit config/svxreflector.conf
|
||||
```
|
||||
|
||||
The config file is mounted read-only into the container. Edit it on the host;
|
||||
restart the container to apply changes (or use the PTY interface for live
|
||||
user/password reloads — see below).
|
||||
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, add `LOCAL_PREFIX` and any `[TRUNK_x]` sections you need. See
|
||||
[`docs/INSTALL.md`](INSTALL.md) for the config additions required for trunking.
|
||||
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
|
||||
below).
|
||||
|
||||
### 2. Build and start
|
||||
|
||||
|
||||
Reference in new issue
Block a user