Skip to content

Commit

Permalink
Merge branch 'dev-4.x' of https://github.com/syscoin/go-ethereum into…
Browse files Browse the repository at this point in the history
… dev-4.x
  • Loading branch information
jagdeep sidhu committed Jul 8, 2022
2 parents 9bd179c + 03b6bd5 commit ef1edb4
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions cmd/puppeth/module_explorer.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,13 +164,8 @@ RUN \
echo $'LC_ALL=C exec syscoind {{if eq .NetworkID 5700}}--testnet --addnode=3.143.67.237{{end}} --datadir=/opt/app/.syscoin --disablewallet --gethcommandline=--syncmode="full" --gethcommandline=--gcmode="archive" --gethcommandline=--rpc.evmtimeout=10s --gethcommandline=--port={{.EthPort}} --gethcommandline=--bootnodes={{.Bootnodes}} --gethcommandline=--ethstats={{.Ethstats}} --gethcommandline=--cache=8192 --gethcommandline=--http --gethcommandline=--http.api="net,web3,eth,debug,txpool" --gethcommandline=--http.corsdomain="*" --gethcommandline=--http.vhosts="*" --gethcommandline=--ws --gethcommandline=--ws.origins="*" &' >> explorer.sh && \
echo '/usr/local/bin/docker-entrypoint.sh postgres &' >> explorer.sh && \
echo 'sleep 5' >> explorer.sh && \
echo 'if [ ! -f /opt/app/.syscoin/explorer_init_done.sh ]; then' >> explorer.sh && \
echo ' . ~/explorer_init.sh' >> explorer.sh && \
echo ' mv ~/explorer_init.sh /opt/app/.syscoin/explorer_init_done.sh' >> explorer.sh && \
echo 'fi' >> explorer.sh && \
echo 'mix phx.server' >> explorer.sh && \
echo '# only re-create the database on fresh container start' >> explorer_init.sh && \
echo 'mix do ecto.drop --force, ecto.create, ecto.migrate' >> explorer_init.sh
echo 'mix do ecto.create, ecto.migrate' >> explorer.sh && \
echo 'mix phx.server' >> explorer.sh
ENTRYPOINT ["/bin/sh", "explorer.sh"]
`

Expand Down

0 comments on commit ef1edb4

Please sign in to comment.