diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-12-21 23:36:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-21 23:36:27 +0800 |
commit | 52f4d6dd7891191a494f37faa6bce664e202da66 (patch) | |
tree | cb32fd417f959958f9dc0d3f21ceddd1ef282cbc | |
parent | 38b1e8ee207da636d95bea760f577eca462307a6 (diff) | |
parent | e4aa882ec55b70c060458c4eda943c37e08a8cc5 (diff) | |
download | dexon-52f4d6dd7891191a494f37faa6bce664e202da66.tar dexon-52f4d6dd7891191a494f37faa6bce664e202da66.tar.gz dexon-52f4d6dd7891191a494f37faa6bce664e202da66.tar.bz2 dexon-52f4d6dd7891191a494f37faa6bce664e202da66.tar.lz dexon-52f4d6dd7891191a494f37faa6bce664e202da66.tar.xz dexon-52f4d6dd7891191a494f37faa6bce664e202da66.tar.zst dexon-52f4d6dd7891191a494f37faa6bce664e202da66.zip |
Merge pull request #15730 from karalabe/puppeth-expose-faucet-http
cmd/puppeth: fix faucet 502 error due to non-exposed HTTP port
-rw-r--r-- | cmd/puppeth/module_faucet.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/puppeth/module_faucet.go b/cmd/puppeth/module_faucet.go index 57b7a2dc0..92b4cb286 100644 --- a/cmd/puppeth/module_faucet.go +++ b/cmd/puppeth/module_faucet.go @@ -39,6 +39,8 @@ ADD genesis.json /genesis.json ADD account.json /account.json ADD account.pass /account.pass +EXPOSE 8080 30303 30303/udp + ENTRYPOINT [ \ "faucet", "--genesis", "/genesis.json", "--network", "{{.NetworkID}}", "--bootnodes", "{{.Bootnodes}}", "--ethstats", "{{.Ethstats}}", "--ethport", "{{.EthPort}}", \ "--faucet.name", "{{.FaucetName}}", "--faucet.amount", "{{.FaucetAmount}}", "--faucet.minutes", "{{.FaucetMinutes}}", "--faucet.tiers", "{{.FaucetTiers}}", \ |