Fix nousb flag missing. (#1062)

This commit is contained in:
Igor Mandrigin 2020-09-06 14:10:57 +01:00 committed by GitHub
parent fe6d4b5213
commit c3ce05b5eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@ services:
turbo-geth:
image: turbo-geth:latest
build: .
command: tg --nousb --metrics --pprof.addr="0.0.0.0" --pprof.port="6060" --private.api.addr="0.0.0.0:9090" --ipcdisable
command: tg --metrics --pprof.addr="0.0.0.0" --pprof.port="6060" --private.api.addr="0.0.0.0:9090" --ipcdisable
volumes:
- ${XDG_DATA_HOME:-~/.local/share}/turbogeth:/root/.local/share/turbogeth
ports:

View File

@ -75,6 +75,7 @@ func makeNodeConfig(ctx *cli.Context, p Params) *node.Config {
}
nodeConfig.IPCPath = "tg.ipc"
nodeConfig.Name = "turbo-geth"
nodeConfig.NoUSB = true
utils.SetNodeConfig(ctx, &nodeConfig)