Expose build refs in .env, add build script, default GNUnet v0.26.1

This commit is contained in:
nocci 2025-12-11 15:40:50 +00:00
parent 6d482237ce
commit f8609c6634
5 changed files with 34 additions and 3 deletions

View file

@ -19,7 +19,8 @@ Container stack for GNU Taler (Exchange, Merchant, LibEuFin Bank) with optional
- `EXCHANGE_SECRETS_PATH`: host path containing the exchange master private key (persistent!).
- `MASTER_PUBLIC_KEY`: must match the master private key.
- `LIBEUFIN_MERCHANT_TOKEN`: set after token generation (see below).
3. Build: `docker build -t taler-stack:build .`
- Versions: `GNUNET_REF` (default v0.26.1), `EXCHANGE_REF`, `MERCHANT_REF`, `LIBEUFIN_REF`, optional `GNUNET_TARBALL_URL` for tarball builds.
3. Build: `./scripts/build-image.sh` (reads `.env` for refs/URLs; override with env vars if needed)
4. Start: `docker compose up -d`
5. Generate bank token: `./scripts/provision-bank-user.sh` (bank service must be running). The token is written to `TOKEN_OUTPUT` (default `bank/token-info.txt`); copy the secret token into `.env` as `LIBEUFIN_MERCHANT_TOKEN`.
6. Optional: auto-enable exchange payto by setting `ENABLE_EXCHANGE_ACCOUNT=1` in `.env` (adjust PAYTO/hosts); job runs as `exchange-account-init`.