|
| 1 | +# Triumph Synergy Digital Financial Ecosystem — Integration |
| 2 | + |
| 3 | +**Repository:** https://github.com/jdrains110-beep/Triumph-Synergy-Digital-Financial-Ecosystem |
| 4 | +**Image used:** `pinetwork/pi-node-docker:organization-mainnet-v1.0-p23.0.1` |
| 5 | +**Node role:** Sovereign on-chain anchor (replaces third-party API endpoints) |
| 6 | + |
| 7 | +## Overview |
| 8 | + |
| 9 | +The Triumph Synergy Digital Financial Ecosystem runs `pi-node-docker` as |
| 10 | +its **primary sovereign Pi mainnet node**. All payment rails, settlement, |
| 11 | +tokenization, and payroll flows settle against this self-hosted node |
| 12 | +rather than a third-party API, ensuring full sovereign control. |
| 13 | + |
| 14 | +Services that depend on this node: |
| 15 | + |
| 16 | +| Service | Port | Role | |
| 17 | +|---------|------|------| |
| 18 | +| pi-bridge-connector | 8092 | Pi Network bridge | |
| 19 | +| settlement-core | 8080 | T+0 settlement | |
| 20 | +| tokenization-engine | 8085 | Asset tokenization | |
| 21 | +| sovereign-work-nexus | 8132 | Global jobs + Pi payroll | |
| 22 | +| publix-phygital-hub | 8133 | Phygital retail Pi payments | |
| 23 | + |
| 24 | +## docker-compose snippet |
| 25 | + |
| 26 | +```yaml |
| 27 | +pi-mainnet-node: |
| 28 | + image: pinetwork/pi-node-docker:organization-mainnet-v1.0-p23.0.1 |
| 29 | + container_name: triumph-pi-mainnet-node |
| 30 | + restart: unless-stopped |
| 31 | + environment: |
| 32 | + POSTGRES_PASSWORD: ${PI_NODE_POSTGRES_PASSWORD} |
| 33 | + NODE_PRIVATE_KEY: ${PI_NODE_PRIVATE_KEY:-} |
| 34 | + volumes: |
| 35 | + - pi_mainnet_stellar:/opt/stellar |
| 36 | + - pi_mainnet_logs:/var/log/supervisor |
| 37 | + - pi_mainnet_history:/history |
| 38 | + ports: |
| 39 | + - "31401:8000" # Horizon HTTP API |
| 40 | + - "31402:31402" # stellar-core peer |
| 41 | + - "31403:1570" # local history server |
| 42 | + command: ["--mainnet"] |
| 43 | + networks: |
| 44 | + - triumph-net |
| 45 | + - pi-bridge |
| 46 | +``` |
| 47 | +
|
| 48 | +## .env additions |
| 49 | +
|
| 50 | +```env |
| 51 | +PI_NODE_POSTGRES_PASSWORD=<strong-password> |
| 52 | +PI_NODE_PRIVATE_KEY= # leave blank for auto-generation |
| 53 | +PI_NODE_HORIZON_PORT=31401 |
| 54 | +PI_NODE_PEER_PORT=31402 |
| 55 | +PI_NODE_HISTORY_PORT=31403 |
| 56 | +``` |
| 57 | + |
| 58 | +## Node-status check |
| 59 | + |
| 60 | +```bash |
| 61 | +docker exec triumph-pi-mainnet-node node-status |
| 62 | +``` |
| 63 | + |
| 64 | +## Upgrade notes |
| 65 | + |
| 66 | +Before upgrading to a new image version, stop the container and snapshot |
| 67 | +the `pi_mainnet_stellar` Docker volume (pg_upgrade rewrites in place). |
| 68 | +Per the v1.0-p23.0.1 release notes: back up volumes before upgrading, |
| 69 | +do not interrupt the first boot while `pg_upgrade` and migrations run. |
0 commit comments