47 lines
1.8 KiB
Markdown
47 lines
1.8 KiB
Markdown
# mytops-local on koopa (podman lab)
|
|
|
|
**2026-09-04** — merchant http lab next to live goa (not 901x / nym 9080).
|
|
|
|
## status
|
|
|
|
| where | port | `/config` |
|
|
|-------|------|-----------|
|
|
| koopa | `127.0.0.1:8288` | 200 (`mytops-local` Up) |
|
|
| magikoopa (ref) | `127.0.0.1:8088` | 200 |
|
|
|
|
container: `mytops-local` · image `localhost/mytops-debian-systemd:trixie` ·
|
|
bind `~/src/mytops-admin-log` (rsync from laptop; `.git` optional).
|
|
|
|
docs/run: `mytops-admin-log` branch `mytops-local` → entry `mytops-local` /
|
|
`mytops-local.md`. `STAGE_ENV` unused on this path.
|
|
|
|
## setup (koopa)
|
|
|
|
```bash
|
|
rsync -az --delete --exclude .git --exclude .DS_Store \
|
|
~/git/mytops-admin-log/ hernani@koopa:src/mytops-admin-log/
|
|
ssh hernani@koopa
|
|
cd ~/src/mytops-admin-log
|
|
podman build -t localhost/mytops-debian-systemd:trixie -f Containerfile.mytops-local .
|
|
MYTOPS_LOCAL_HTTP_PORT=8288 ./scripts/taler-merchant/apply-local-base-url.sh
|
|
podman rm -f mytops-local 2>/dev/null || true
|
|
podman run -d --name mytops-local --hostname mytops-local \
|
|
--systemd=always --cap-add SYS_ADMIN --security-opt label=disable \
|
|
-v /sys/fs/cgroup:/sys/fs/cgroup:rw --tmpfs /run --tmpfs /run/lock \
|
|
-p 127.0.0.1:8288:80 \
|
|
-v "$HOME/src/mytops-admin-log:/root/mytops-admin-log:rw" \
|
|
localhost/mytops-debian-systemd:trixie /sbin/init
|
|
podman exec mytops-local bash -lc \
|
|
'cd /root/mytops-admin-log && MYTOPS_LOCAL_HTTP_PORT=8288 ./scripts/taler-merchant/setup-local.sh'
|
|
```
|
|
|
|
if dbconfig fails (`policy-rc.d`): start `postgresql`, then dbconfig + `taler-merchant.target`.
|
|
|
|
## links
|
|
|
|
| what | where |
|
|
|------|--------|
|
|
| koopa-setup | `koopa-setup` |
|
|
| lab-local | `configs/lab-local/` · `configs/ports.md` |
|
|
| mytops-admin-log | branch `mytops-local` |
|
|
| regio lab | `configs/lab-local/goa-regio-ng-koopa.yml` · `~/src/regio-local/` |
|