configs: rename dirs to match live koopa containers
Reflect host naming in git paths: - configs/taler-hacktivism/ (was taler-merchant) → container taler-hacktivism - configs/taler-hacktivism-bank/ (was taler-bank) → container …-bank, image taler-hacktivism-banking:live - configs/taler-exchange-ansible/ already matches …-exchange-ansible - configs/taler-exchange/ = conf inside that exchange container Update LIVE.md, README, ports/refs. No secret values.
This commit is contained in:
parent
b5c1bf7591
commit
54ebdb7d7a
27 changed files with 93 additions and 66 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
**Scope:** local on host **koopa** only. No registry, no upload, no public internet publish.
|
||||
|
||||
Container was **stopped** then **committed/saved**. Live name: `taler-exchange-hacktivism`.
|
||||
Container was **stopped** then **committed/saved**. Live name: `taler-hacktivism-exchange-ansible`.
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -16,7 +16,7 @@ Directory (hernani on koopa):
|
|||
|
||||
| File | Role | Size (approx.) |
|
||||
|------|------|----------------|
|
||||
| `taler-exchange-hacktivism-live-20260709-snapshot.tar` | full exchange image archive | **~1.6 G** |
|
||||
| `taler-hacktivism-exchange-ansible-live-20260709-snapshot.tar` | full exchange image archive | **~1.6 G** |
|
||||
| `taler-hacktivism-live-20260709-snapshot.tar` | merchant archive (partial earlier run) | ~2.4 G |
|
||||
| `SHA256SUMS` | checksums for completed saves | |
|
||||
|
||||
|
|
@ -24,8 +24,8 @@ Directory (hernani on koopa):
|
|||
|
||||
| Image | Tag | Notes |
|
||||
|-------|-----|--------|
|
||||
| `localhost/taler-exchange-hacktivism-live` | `20260709-snapshot` | committed from stopped container |
|
||||
| `localhost/taler-exchange-hacktivism-live` | `9011` | previous live tag (still present) |
|
||||
| `localhost/taler-hacktivism-exchange-ansible-live` | `20260709-snapshot` | committed from stopped container |
|
||||
| `localhost/taler-hacktivism-exchange-ansible-live` | `9011` | previous live tag (still present) |
|
||||
| `localhost/taler-hacktivism-live` | `20260709-snapshot` | merchant (if commit kept) |
|
||||
| `localhost/taler-bank-hacktivism-live` | `20260709-snapshot` | bank (if commit kept) |
|
||||
|
||||
|
|
@ -36,13 +36,13 @@ Verify:
|
|||
ls -lh /home/hernani/images/taler-stack-20260709-snapshot/
|
||||
sha256sum -c /home/hernani/images/taler-stack-20260709-snapshot/SHA256SUMS
|
||||
podman images | grep exchange
|
||||
podman ps -a --filter name=taler-exchange-hacktivism
|
||||
podman ps -a --filter name=taler-hacktivism-exchange-ansible
|
||||
```
|
||||
|
||||
Expected container state after stop:
|
||||
|
||||
```text
|
||||
taler-exchange-hacktivism Exited (…) localhost/taler-exchange-hacktivism-live:9011 0.0.0.0:9011->9011/tcp
|
||||
taler-hacktivism-exchange-ansible Exited (…) localhost/taler-hacktivism-exchange-ansible-live:9011 0.0.0.0:9011->9011/tcp
|
||||
```
|
||||
|
||||
---
|
||||
|
|
@ -51,19 +51,19 @@ taler-exchange-hacktivism Exited (…) localhost/taler-exchange-hacktivism-liv
|
|||
|
||||
```bash
|
||||
# as hernani@koopa — local only
|
||||
podman stop taler-exchange-hacktivism
|
||||
podman stop taler-hacktivism-exchange-ansible
|
||||
|
||||
TAG=20260709-snapshot
|
||||
OUT=/home/hernani/images/taler-stack-$TAG
|
||||
mkdir -p "$OUT"
|
||||
|
||||
podman commit taler-exchange-hacktivism \
|
||||
localhost/taler-exchange-hacktivism-live:$TAG
|
||||
podman commit taler-hacktivism-exchange-ansible \
|
||||
localhost/taler-hacktivism-exchange-ansible-live:$TAG
|
||||
|
||||
podman save -o "$OUT/taler-exchange-hacktivism-live-$TAG.tar" \
|
||||
localhost/taler-exchange-hacktivism-live:$TAG
|
||||
podman save -o "$OUT/taler-hacktivism-exchange-ansible-live-$TAG.tar" \
|
||||
localhost/taler-hacktivism-exchange-ansible-live:$TAG
|
||||
|
||||
sha256sum "$OUT/taler-exchange-hacktivism-live-$TAG.tar" | tee -a "$OUT/SHA256SUMS"
|
||||
sha256sum "$OUT/taler-hacktivism-exchange-ansible-live-$TAG.tar" | tee -a "$OUT/SHA256SUMS"
|
||||
```
|
||||
|
||||
`-p` on commit pauses the container if still running; after `stop` it is optional.
|
||||
|
|
@ -75,9 +75,9 @@ sha256sum "$OUT/taler-exchange-hacktivism-live-$TAG.tar" | tee -a "$OUT/SHA256SU
|
|||
### A. From local image tag (fast)
|
||||
|
||||
```bash
|
||||
podman rm -f taler-exchange-hacktivism # only if replacing dead/exited
|
||||
podman rm -f taler-hacktivism-exchange-ansible # only if replacing dead/exited
|
||||
|
||||
podman run -d --name taler-exchange-hacktivism \
|
||||
podman run -d --name taler-hacktivism-exchange-ansible \
|
||||
--network pasta \
|
||||
-p 9011:9011 \
|
||||
--label org.hacktivism.service=taler-exchange \
|
||||
|
|
@ -85,14 +85,14 @@ podman run -d --name taler-exchange-hacktivism \
|
|||
--label org.hacktivism.site=exchange.hacktivism.ch \
|
||||
--label org.hacktivism.currency=GOA \
|
||||
--label org.hacktivism.managed_by=koopa-admin \
|
||||
localhost/taler-exchange-hacktivism-live:20260709-snapshot \
|
||||
localhost/taler-hacktivism-exchange-ansible-live:20260709-snapshot \
|
||||
sleep infinity
|
||||
```
|
||||
|
||||
### B. From tar (if image store was wiped)
|
||||
|
||||
```bash
|
||||
podman load -i /home/hernani/images/taler-stack-20260709-snapshot/taler-exchange-hacktivism-live-20260709-snapshot.tar
|
||||
podman load -i /home/hernani/images/taler-stack-20260709-snapshot/taler-hacktivism-exchange-ansible-live-20260709-snapshot.tar
|
||||
# then same podman run as above
|
||||
```
|
||||
|
||||
|
|
@ -101,7 +101,7 @@ podman load -i /home/hernani/images/taler-stack-20260709-snapshot/taler-exchange
|
|||
Inside container as **root**, then app user:
|
||||
|
||||
```bash
|
||||
podman exec -u root -it taler-exchange-hacktivism bash
|
||||
podman exec -u root -it taler-hacktivism-exchange-ansible bash
|
||||
# 1) base: postgres, runtime dirs, secmods, wire helpers
|
||||
/root/start_base_services_for_taler_exchange.sh --no-shell
|
||||
# 2) httpd
|
||||
|
|
@ -149,8 +149,8 @@ scp configs/taler-exchange/exchange-overrides.conf \
|
|||
hernani@koopa:/tmp/exchange-overrides.conf
|
||||
scp configs/taler-exchange/conf.d-exchange-coins.conf \
|
||||
hernani@koopa:/tmp/exchange-coins.conf
|
||||
ssh hernani@koopa 'podman cp /tmp/exchange-overrides.conf taler-exchange-hacktivism:/etc/taler-exchange/exchange-overrides.conf
|
||||
podman cp /tmp/exchange-coins.conf taler-exchange-hacktivism:/etc/taler-exchange/conf.d/exchange-coins.conf'
|
||||
ssh hernani@koopa 'podman cp /tmp/exchange-overrides.conf taler-hacktivism-exchange-ansible:/etc/taler-exchange/exchange-overrides.conf
|
||||
podman cp /tmp/exchange-coins.conf taler-hacktivism-exchange-ansible:/etc/taler-exchange/conf.d/exchange-coins.conf'
|
||||
```
|
||||
|
||||
Greenfield (empty Debian + packages) only:
|
||||
|
|
|
|||
|
|
@ -5,4 +5,4 @@
|
|||
3. Created bank user `goa-demo-cp4zqk`, credited **GOA:5000**.
|
||||
4. Linked payto to merchant: `POST .../private/accounts` → active wire account.
|
||||
|
||||
See `configs/taler-merchant/demo-instance-goa-demo-cp4zqk.md`.
|
||||
See `configs/taler-hacktivism/demo-instance-goa-demo-cp4zqk.md`.
|
||||
|
|
|
|||
|
|
@ -16,3 +16,4 @@
|
|||
- Caddyfile applied on host: git. in ACME/redirect list, SSH note :9200; live matches configs/caddy mirror (verified)
|
||||
- Bonfire: republish foss outbox → Local users + public internet feeds; guest `/feed/local` shows posts
|
||||
- Reflect live koopa state in admin-log: `host/overview/LIVE.md`, exchange name **taler-hacktivism-exchange-ansible**, ansible mirror
|
||||
- configs/: rename mirrors to live container names (`taler-hacktivism`, `taler-hacktivism-bank`; image banking)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue