-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add setup scripts and templates for testcoins
- Loading branch information
Showing
16 changed files
with
567 additions
and
95 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
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
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 @@ | ||
docker-compose.yml |
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 komodoofficial/komodo:cd_release_a89b6e8_master | ||
|
||
LABEL maintainer="[email protected]" | ||
|
||
# Setup up user and working directory | ||
ARG GROUP_ID | ||
ARG USER_ID | ||
ARG SERVICE_CLI | ||
RUN addgroup --gid ${GROUP_ID} notarygroup | ||
RUN adduser --disabled-password --gecos '' --uid ${USER_ID} --gid ${GROUP_ID} komodian | ||
WORKDIR /home/komodian | ||
|
||
RUN PATH=/usr/local/bin/:$PATH | ||
RUN apt update && apt install -y nano htop libgomp1 | ||
|
||
HEALTHCHECK --start-period=15m --interval=15m --timeout=60s CMD CMD bash /usr/local/healthcheck.sh ${SERVICE_CLI} || exit 1 | ||
STOPSIGNAL SIGTERM | ||
|
||
COPY healthcheck.sh /usr/local/bin | ||
COPY entrypoint.sh /entrypoint.sh | ||
COPY launch_files/ / | ||
|
||
# Setup user and working directory | ||
RUN chown -R komodian:notarygroup /home/komodian | ||
USER komodian | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] |
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,2 @@ | ||
#!/bin/bash | ||
docker exec -it doc komodo-cli -ac_name=DOC "$@" |
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,2 @@ | ||
#!/bin/bash | ||
docker exec -it marty komodo-cli -ac_name=MARTY "$@" |
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,24 @@ | ||
addnode=103.195.100.32 # Dragonhound_DEV | ||
addnode=144.76.80.75 # Alright_DEV | ||
addnode=148.113.1.52 # gcharang_AR | ||
addnode=148.113.8.6 # gcharang_DEV | ||
addnode=178.159.2.9 # Dragonhound_EU | ||
addnode=209.222.101.247 # Dragonhound_NA | ||
addnode=51.161.209.100 # gcharang_SH | ||
addnode=65.21.77.109 # Alright_EU | ||
addnode=77.75.121.138 # Dragonhound_AR | ||
addnode=89.19.26.211 # Marmara1 | ||
addnode=89.19.26.212 # Marmara2 | ||
addnode=seed.komodostats.com # komodostats | ||
addnode=seed.webworker.sh # webworker | ||
daemon=1 | ||
rpcallowip=0.0.0.0/0 | ||
rpcworkqueue=256 | ||
server=1 | ||
txindex=1 | ||
whitelistaddress=R9gWj7fzSxZtJZCSDMQz5G5J7x4rg6UmiQ # Testcoin faucet address | ||
|
||
port=62415 | ||
rpcbind=0.0.0.0:62416 | ||
rpcport=62416 | ||
|
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,24 @@ | ||
addnode=103.195.100.32 # Dragonhound_DEV | ||
addnode=144.76.80.75 # Alright_DEV | ||
addnode=148.113.1.52 # gcharang_AR | ||
addnode=148.113.8.6 # gcharang_DEV | ||
addnode=178.159.2.9 # Dragonhound_EU | ||
addnode=209.222.101.247 # Dragonhound_NA | ||
addnode=51.161.209.100 # gcharang_SH | ||
addnode=65.21.77.109 # Alright_EU | ||
addnode=77.75.121.138 # Dragonhound_AR | ||
addnode=89.19.26.211 # Marmara1 | ||
addnode=89.19.26.212 # Marmara2 | ||
addnode=seed.komodostats.com # komodostats | ||
addnode=seed.webworker.sh # webworker | ||
daemon=1 | ||
rpcallowip=0.0.0.0/0 | ||
rpcworkqueue=256 | ||
server=1 | ||
txindex=1 | ||
whitelistaddress=R9gWj7fzSxZtJZCSDMQz5G5J7x4rg6UmiQ # Testcoin faucet address | ||
|
||
port=52592 | ||
rpcbind=0.0.0.0:52593 | ||
rpcport=52593 | ||
|
Oops, something went wrong.