Add citadel deployment
Port of ../elprice/deploy-citadel.sh: build the image locally for the remote's architecture, ship it over SSH with docker save | docker load, and run docker compose up -d --no-build in /home/pmp/apps/btcprice. The deployment compose is standalone rather than joining btc-network, because citadel runs no btcdata — BTCDATA_URL points at the instance already running on omarchy (http://192.168.50.42:4102). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BdMTk61JgUdNH86ttMi4ce
This commit is contained in:
@@ -31,6 +31,17 @@ Note: `Dockerfile` bakes in a stale `ENV BTCDATA_URL=http://btcdata:4101`; compo
|
||||
overrides it, so it only matters if the image is run outside compose. `ENV PORT` is likewise
|
||||
unused — the port in `CMD` is hardcoded.
|
||||
|
||||
## Deployment
|
||||
|
||||
`./deploy-citadel.sh` — build locally for the remote's arch, `docker save | ssh docker load`,
|
||||
`docker compose up -d --no-build` in `/home/pmp/apps/btcprice` on citadel (192.168.50.195).
|
||||
Mirrors `../elprice/deploy-citadel.sh`; no registry.
|
||||
|
||||
- `docker-compose.citadel.yml` → remote `docker-compose.yml`; `.env.citadel` → remote `.env`.
|
||||
- Standalone (no `btc-network`): citadel has no btcdata, so `BTCDATA_URL` points at the btcdata
|
||||
on omarchy, `http://192.168.50.42:4102`.
|
||||
- Live at http://192.168.50.195:4041. A separate btcprice also still runs on omarchy at :4041.
|
||||
|
||||
## Architecture
|
||||
|
||||
- **Framework:** FastAPI
|
||||
|
||||
Reference in New Issue
Block a user