Skip to content

Commit

Permalink
Feature: Implement Stellar build and deployment files
Browse files Browse the repository at this point in the history
  • Loading branch information
vshatravenko committed Jul 1, 2020
1 parent 9c11d83 commit cf7c651
Show file tree
Hide file tree
Showing 7 changed files with 756 additions and 0 deletions.
27 changes: 27 additions & 0 deletions stellar/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
FROM debian:stretch

# git tag from https://github.com/stellar/stellar-core
ARG STELLAR_CORE_VERSION="v13.2.0"
ARG STELLAR_CORE_BUILD_DEPS="git build-essential pkg-config autoconf automake libtool bison flex libpq-dev wget pandoc"
ARG STELLAR_CORE_DEPS="curl jq libpq5"

ADD scripts/* /
RUN /install.sh

VOLUME /data

# peer port
EXPOSE 11625

# HTTP port
EXPOSE 11626

# configuration options, see here for docs:
# https://github.com/stellar/stellar-core/blob/master/docs/stellar-core_example.cfg
ENV HTTP_MAX_CLIENT="128" \
NETWORK_PASSPHRASE="Public Global Stellar Network ; September 2015" \
INITIALIZE_DB=true

ENTRYPOINT ["/docker-entrypoint.sh"]

CMD ["/usr/local/bin/stellar-core", "run", "--conf", "/stellar-core.cfg"]
11 changes: 11 additions & 0 deletions stellar/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Stellar

## Start the cryptonode

```shell
docker-compose up -Vd *mainnet or testnet*`
```

## Usage

[Stellar Horizon API reference](https://developers.stellar.org/api/introduction/)
1 change: 1 addition & 0 deletions stellar/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
13.2.0
Loading

0 comments on commit cf7c651

Please sign in to comment.