Skip to content

Commit cf7c651

Browse files
committed
Feature: Implement Stellar build and deployment files
1 parent 9c11d83 commit cf7c651

File tree

7 files changed

+756
-0
lines changed

7 files changed

+756
-0
lines changed

stellar/Dockerfile

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
FROM debian:stretch
2+
3+
# git tag from https://github.com/stellar/stellar-core
4+
ARG STELLAR_CORE_VERSION="v13.2.0"
5+
ARG STELLAR_CORE_BUILD_DEPS="git build-essential pkg-config autoconf automake libtool bison flex libpq-dev wget pandoc"
6+
ARG STELLAR_CORE_DEPS="curl jq libpq5"
7+
8+
ADD scripts/* /
9+
RUN /install.sh
10+
11+
VOLUME /data
12+
13+
# peer port
14+
EXPOSE 11625
15+
16+
# HTTP port
17+
EXPOSE 11626
18+
19+
# configuration options, see here for docs:
20+
# https://github.com/stellar/stellar-core/blob/master/docs/stellar-core_example.cfg
21+
ENV HTTP_MAX_CLIENT="128" \
22+
NETWORK_PASSPHRASE="Public Global Stellar Network ; September 2015" \
23+
INITIALIZE_DB=true
24+
25+
ENTRYPOINT ["/docker-entrypoint.sh"]
26+
27+
CMD ["/usr/local/bin/stellar-core", "run", "--conf", "/stellar-core.cfg"]

stellar/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Stellar
2+
3+
## Start the cryptonode
4+
5+
```shell
6+
docker-compose up -Vd *mainnet or testnet*`
7+
```
8+
9+
## Usage
10+
11+
[Stellar Horizon API reference](https://developers.stellar.org/api/introduction/)

stellar/VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
13.2.0

0 commit comments

Comments
 (0)