Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

Commit

Permalink
cmd/puppeth: support latest docker compose, expose faucet UDP
Browse files Browse the repository at this point in the history
  • Loading branch information
karalabe committed Dec 11, 2018
1 parent 69a8d98 commit 38c3d88
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cmd/puppeth/module_ethstats.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ version: '2'
services:
ethstats:
build: .
image: {{.Network}}/ethstats{{if not .VHost}}
image: {{.Network}}/ethstats
container_name: {{.Network}}_ethstats_1{{if not .VHost}}
ports:
- "{{.Port}}:3000"{{end}}
environment:
Expand Down
1 change: 1 addition & 0 deletions cmd/puppeth/module_explorer.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ services:
explorer:
build: .
image: {{.Network}}/explorer
container_name: {{.Network}}_explorer_1
ports:
- "{{.NodePort}}:{{.NodePort}}"
- "{{.NodePort}}:{{.NodePort}}/udp"{{if not .VHost}}
Expand Down
4 changes: 3 additions & 1 deletion cmd/puppeth/module_faucet.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions cmd/puppeth/module_nginx.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ services:
nginx:
build: .
image: {{.Network}}/nginx
container_name: {{.Network}}_nginx_1
ports:
- "{{.Port}}:80"
volumes:
Expand Down
1 change: 1 addition & 0 deletions cmd/puppeth/module_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ services:
{{.Type}}:
build: .
image: {{.Network}}/{{.Type}}
container_name: {{.Network}}_{{.Type}}_1
ports:
- "{{.Port}}:{{.Port}}"
- "{{.Port}}:{{.Port}}/udp"
Expand Down
1 change: 1 addition & 0 deletions cmd/puppeth/module_wallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ services:
wallet:
build: .
image: {{.Network}}/wallet
container_name: {{.Network}}_wallet_1
ports:
- "{{.NodePort}}:{{.NodePort}}"
- "{{.NodePort}}:{{.NodePort}}/udp"
Expand Down

0 comments on commit 38c3d88

Please sign in to comment.