-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: Implement Stellar build and deployment files
- Loading branch information
1 parent
9c11d83
commit cf7c651
Showing
7 changed files
with
756 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
13.2.0 |
Oops, something went wrong.