File tree Expand file tree Collapse file tree 6 files changed +9
-2
lines changed Expand file tree Collapse file tree 6 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,8 @@ version: '2'
43
43
services:
44
44
ethstats:
45
45
build: .
46
- image: {{.Network}}/ethstats{{if not .VHost}}
46
+ image: {{.Network}}/ethstats
47
+ container_name: {{.Network}}_ethstats_1{{if not .VHost}}
47
48
ports:
48
49
- "{{.Port}}:3000"{{end}}
49
50
environment:
Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ services:
77
77
explorer:
78
78
build: .
79
79
image: {{.Network}}/explorer
80
+ container_name: {{.Network}}_explorer_1
80
81
ports:
81
82
- "{{.NodePort}}:{{.NodePort}}"
82
83
- "{{.NodePort}}:{{.NodePort}}/udp"{{if not .VHost}}
Original file line number Diff line number Diff line change @@ -56,8 +56,10 @@ services:
56
56
faucet:
57
57
build: .
58
58
image: {{.Network}}/faucet
59
+ container_name: {{.Network}}_faucet_1
59
60
ports:
60
- - "{{.EthPort}}:{{.EthPort}}"{{if not .VHost}}
61
+ - "{{.EthPort}}:{{.EthPort}}"
62
+ - "{{.EthPort}}:{{.EthPort}}/udp"{{if not .VHost}}
61
63
- "{{.ApiPort}}:8080"{{end}}
62
64
volumes:
63
65
- {{.Datadir}}:/root/.faucet
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ services:
40
40
nginx:
41
41
build: .
42
42
image: {{.Network}}/nginx
43
+ container_name: {{.Network}}_nginx_1
43
44
ports:
44
45
- "{{.Port}}:80"
45
46
volumes:
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ services:
55
55
{{.Type}}:
56
56
build: .
57
57
image: {{.Network}}/{{.Type}}
58
+ container_name: {{.Network}}_{{.Type}}_1
58
59
ports:
59
60
- "{{.Port}}:{{.Port}}"
60
61
- "{{.Port}}:{{.Port}}/udp"
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ services:
57
57
wallet:
58
58
build: .
59
59
image: {{.Network}}/wallet
60
+ container_name: {{.Network}}_wallet_1
60
61
ports:
61
62
- "{{.NodePort}}:{{.NodePort}}"
62
63
- "{{.NodePort}}:{{.NodePort}}/udp"
You can’t perform that action at this time.
0 commit comments