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'
4343services:
4444 ethstats:
4545 build: .
46- image: {{.Network}}/ethstats{{if not .VHost}}
46+ image: {{.Network}}/ethstats
47+ container_name: {{.Network}}_ethstats_1{{if not .VHost}}
4748 ports:
4849 - "{{.Port}}:3000"{{end}}
4950 environment:
Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ services:
7777 explorer:
7878 build: .
7979 image: {{.Network}}/explorer
80+ container_name: {{.Network}}_explorer_1
8081 ports:
8182 - "{{.NodePort}}:{{.NodePort}}"
8283 - "{{.NodePort}}:{{.NodePort}}/udp"{{if not .VHost}}
Original file line number Diff line number Diff line change @@ -56,8 +56,10 @@ services:
5656 faucet:
5757 build: .
5858 image: {{.Network}}/faucet
59+ container_name: {{.Network}}_faucet_1
5960 ports:
60- - "{{.EthPort}}:{{.EthPort}}"{{if not .VHost}}
61+ - "{{.EthPort}}:{{.EthPort}}"
62+ - "{{.EthPort}}:{{.EthPort}}/udp"{{if not .VHost}}
6163 - "{{.ApiPort}}:8080"{{end}}
6264 volumes:
6365 - {{.Datadir}}:/root/.faucet
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ services:
4040 nginx:
4141 build: .
4242 image: {{.Network}}/nginx
43+ container_name: {{.Network}}_nginx_1
4344 ports:
4445 - "{{.Port}}:80"
4546 volumes:
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ services:
5555 {{.Type}}:
5656 build: .
5757 image: {{.Network}}/{{.Type}}
58+ container_name: {{.Network}}_{{.Type}}_1
5859 ports:
5960 - "{{.Port}}:{{.Port}}"
6061 - "{{.Port}}:{{.Port}}/udp"
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ services:
5757 wallet:
5858 build: .
5959 image: {{.Network}}/wallet
60+ container_name: {{.Network}}_wallet_1
6061 ports:
6162 - "{{.NodePort}}:{{.NodePort}}"
6263 - "{{.NodePort}}:{{.NodePort}}/udp"
You can’t perform that action at this time.
0 commit comments