This is a Docker compose file which ties together the API and UI for Stellar.
Make sure you have the following installed and working:
- Docker
- Git
The following commands will set up a new development environment using Docker.
git clone https://github.com/orphic-inc/stellar-compose stellar
cd stellar
git submodule update --init --recursive
Now, edit .env.api
and replace all relevant configuration. Refer to API documentation on the keys and values. Then, edit .env.ui
and do the same with the UI documentation. Finally, run the following to start Stellar:
docker compose up --build -d
In order to provide an HTTPS endpoint, you must provide the proxy container with certificates. These can come from LetsEncrypt or a commercial certificate issuer.
-
Place the following files in
./volumes/proxy-certs
cert.pem
- Your domain certificateprivkey.pem
- Private key used to generate the certificatechain.pem
- Intermediate and Root CA certificate chain
-
Uncomment the
proxy-tls.nginx.conf
volume mapping and comment the default config mapping indocker-compose.yml
.
If you would prefer to use a tagged image, comment/uncomment build
and image
lines in docker-compose.yml
to switch between locally built and remotely downloaded images. The latest
tag represents the main
branch of each repo, and tagged versions are available by their version number, e.g. v1.0.0
.