Skip to content

starformlabs/docker-stellar-horizon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stellar Horizon Docker image

Docker Hub

The Docker images are automatically built and published at starformlabs/stellar-horizon.

Credit

This repo was originally forked from satoshipay/docker-stellar-horizon. The following are the primary changes.

  • Use debian:stretch-slim for the base image
  • Install from binaries instead of source
  • Add a check to makes sure that postgres is up before starting

Configuration

All environment variables that Stellar Horizon accepts are supported. You can find out all available options by running docker run --rm -it satoshipay/stellar-horizon horizon --help. CLI options are exposed as upper/snake-case environment variables, e.g., --stellar-core-url can be set with the STELLAR_CORE_URL environment variable.

Make sure to set the following variables:

  • DATABASE_URL: Horizon database URL, e.g., postgres:https://horizon-db-host/stellar-horizon.
  • STELLAR_CORE_DATABASE_URL: Stellar Core database URL, e.g., postgres:https://core-db-host/stellar-core.
  • STELLAR_CORE_URL: Stellar Core HTTP URL, e.g., http:https://core-host:11626.
  • INGEST: ingest data from Stellar Core (true/false)

About

Fully configurable docker image for Stellar Horizon

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%