aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/puppeth/module_faucet.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2018-12-11 19:41:41 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-12-11 19:41:41 +0800
commit38c3d88cea61361afe332437581dac8b40adbfca (patch)
tree1996772ad613417eb26b98c1fe21763c68caa853 /cmd/puppeth/module_faucet.go
parent69a8d9841a62af97d98ad59f8c40e34301946b84 (diff)
downloaddexon-38c3d88cea61361afe332437581dac8b40adbfca.tar.gz
dexon-38c3d88cea61361afe332437581dac8b40adbfca.tar.zst
dexon-38c3d88cea61361afe332437581dac8b40adbfca.zip
cmd/puppeth: support latest docker compose, expose faucet UDP
Diffstat (limited to 'cmd/puppeth/module_faucet.go')
-rw-r--r--cmd/puppeth/module_faucet.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/puppeth/module_faucet.go b/cmd/puppeth/module_faucet.go
index 06c9fc0f5..3a06bf3c6 100644
--- a/cmd/puppeth/module_faucet.go
+++ b/cmd/puppeth/module_faucet.go
@@ -56,8 +56,10 @@ services:
faucet:
build: .
image: {{.Network}}/faucet
+ container_name: {{.Network}}_faucet_1
ports:
- - "{{.EthPort}}:{{.EthPort}}"{{if not .VHost}}
+ - "{{.EthPort}}:{{.EthPort}}"
+ - "{{.EthPort}}:{{.EthPort}}/udp"{{if not .VHost}}
- "{{.ApiPort}}:8080"{{end}}
volumes:
- {{.Datadir}}:/root/.faucet