Deploy a Stellar Federation with Docker

Francesco Soncina (phra)
Bloqhouse
Published in
1 min readMar 26, 2018

TL;DR: you can find the full project on GitHub @ bloqhouse/stellar-federation-docker

Stellar is a platform that connects banks, payments systems, and people. It supports two different modus operandi: federated and non-federated mode.

In non-federated mode, users manage their own keypair while in federated mode enterprises manage the accounts on users’ behalf, effectively enabling them to implement KYC and regulatory checks on all the operations.

We have created a Docker Compose project in order to be able to quickly spin up instances of a Stellar Federation for demo and testing purposes.

It makes use of the standard Bridge, Federation & Compliance server implementations provided by Stellar, see the Stellar Guide for more information.

The docker-compose.yml file looks like this:

In order to set up all required environment variables, we need to create a .env file in the root directory of the project like the following one:

If everything is correctly configured, you can deploy all the containers with a single command:

$ docker-compose up -d

You should now have fully featured Stellar Federation up and running to experiment with!

Happy hacking!

--

--

Francesco Soncina (phra)
Bloqhouse

OSCP / Ethical Hacker / Red Teamer @ ABN AMRO. CTF player @SnadoTeam