bank: merchant-model start scripts + configs for taler-bank-hacktivism
This commit is contained in:
parent
50a4add730
commit
d6925e3385
7 changed files with 470 additions and 0 deletions
35
scripts/taler-bank/README.md
Normal file
35
scripts/taler-bank/README.md
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# taler-bank scripts
|
||||
|
||||
Container: **`taler-bank-hacktivism`** (libeufin-bank, GOA, **no IBAN**).
|
||||
|
||||
| File | Container path | User |
|
||||
|------|----------------|------|
|
||||
| `start_base_services_for_taler_bank.sh` | `/root/` | **root** |
|
||||
| `start_bank.sh` | `/usr/local/bin/` | **libeufin-bank** |
|
||||
| `check_bank-health.sh` | `/usr/local/bin/` | libeufin-bank / any |
|
||||
| `landing-stats.sh` | `/usr/local/bin/` | root (in container) — writes `/var/www/bank-landing/stats.json` |
|
||||
| `landing-stats-install.sh` | host only | root/podman — copies + runs + optional cron |
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
# root in container
|
||||
./start_base_services_for_taler_bank.sh
|
||||
# then as libeufin-bank in /usr/local/bin:
|
||||
./start_bank.sh --restart
|
||||
```
|
||||
|
||||
## Landing stats (inside container)
|
||||
|
||||
```bash
|
||||
# on koopa host — copy + run (writes /var/www/bank-landing/stats.json)
|
||||
./landing-stats-install.sh
|
||||
./landing-stats-install.sh --cron # every minute inside container (* * * * *)
|
||||
./landing-stats-install.sh --run-only
|
||||
```
|
||||
|
||||
Details + JSON schema: `configs/bank-landing/README.md`.
|
||||
|
||||
## Config
|
||||
|
||||
See `configs/taler-bank/`.
|
||||
Loading…
Add table
Add a link
Reference in a new issue