Pinned release bundle
A usable release must provide these files as one checksummed backend artifact:compose.lock.json records the RampSpec backend tag and commit, Anchor Platform release and commit, every container image by immutable digest, configuration and fixture SHA-256 values, expected Docker and Compose versions, network passphrase, and supported operating systems. Mutable image tags such as latest are prohibited.
The official Anchor Platform repository documents a Docker Compose quickstart. RampSpec’s bundle is a pinned test harness around that upstream deployment, not a fork or replacement.
Service topology
The official Anchor Platform architecture is authoritative for upstream responsibilities. In particular, the Platform Server stays private and the anchor-owned business server handles callbacks and internal-system integration.
Configuration contract
The checked-in example environment contains no usable secret. The preparation script generates run-scoped values for callback authentication, SEP-10 signing, token signing, database access, and synthetic fixture encryption. Secret files are ignored, permission-restricted, and destroyed during teardown. Configuration must bind:- a controlled loopback home domain and expected ports;
- the Stellar testnet passphrase plus pinned Horizon and RPC origins;
- enabled SEP endpoints and callback/event destinations;
- synthetic Stellar assets and matching off-chain asset identifiers;
- deposit and withdrawal methods, limits, significant decimals, and quote pairs;
- business-server callback authentication and replay limits;
- test-only issuer, distribution, receiving, and customer accounts;
- log redaction, retention, health deadlines, and teardown behavior.
Synthetic customers and accounts
Fixture people and organizations use unmistakable test markers and reserved or controlled email, phone, and file destinations. They contain no copied names, documents, addresses, bank details, or identifiers. Every customer has an expected lifecycle and deletion assertion. Stellar keypairs are generated for one run, funded only on testnet, scoped by account role, and capped by transaction and fee policy. Public keys may appear in evidence; secret keys remain inside the runner or fixture service. The fixture manifest records account purpose, starting balance, trustlines, issuer relationship, expected memo behavior, and cleanup status without storing seeds.Start procedure
After a release exists, the tagged README supplies the exact platform-specific commands. The required order is:- verify the bundle, configuration, fixture, and image digests;
- confirm Docker isolation, available resources, free ports, and testnet egress;
- generate ephemeral secrets and fixture keypairs;
- render Compose and reject mutable images, privileged containers, host networking, broad mounts, and unexpected exposed ports;
- start data services, then Anchor Platform services, then the business server and event components;
- seed synthetic assets, customers, accounts, and expected transaction states;
- wait for every explicit health check within its deadline;
- save a redacted environment manifest before admitting test runs.
Health checks
The released health script must fail unless:- every required container is running from its locked digest;
- PostgreSQL migrations match the pinned release and Kafka is ready;
- SEP and Platform Server health endpoints return their expected schemas;
/.well-known/stellar.tomlis reachable and its digest matches the fixture;- the business server authenticates a signed synthetic callback and rejects an invalid one;
- the event service can deliver a run-scoped test event exactly once under retry;
- Horizon and RPC report Stellar testnet and an acceptable ledger age;
- fixture accounts exist with expected trustlines and capped balances;
- no service reports an unredacted secret or customer fixture;
- the environment manifest records healthy timestamps and component versions.