diff --git a/Dockerfile b/Dockerfile index d48897746..35bee36a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,4 +39,4 @@ COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ ENTRYPOINT ["/usr/bin/neo-go"] -CMD ["neo-go", "--config-path", "./config", "--testnet"] +CMD ["node", "--config-path", "/config", "--testnet"] diff --git a/cli/server/server.go b/cli/server/server.go index bf51603d6..32281bfe5 100644 --- a/cli/server/server.go +++ b/cli/server/server.go @@ -54,7 +54,7 @@ func startServer(ctx *cli.Context) error { grace, cancel := context.WithCancel(newGraceContext()) defer cancel() - configPath := "../config" + configPath := "./config" if argCp := ctx.String("config-path"); argCp != "" { configPath = argCp } diff --git a/config/protocol.privnet.yml b/config/protocol.privnet.yml index 929025858..022b04a8e 100644 --- a/config/protocol.privnet.yml +++ b/config/protocol.privnet.yml @@ -9,6 +9,7 @@ ProtocolConfiguration: - 03d90c07df63e690ce77912e10ab51acc944b66860237b608c4f8f8309e71ee699 - 02a7bc55fe8684e0119768d104ba30795bdcc86619e864add26156723ed185cd62 SeedList: + - 127.0.0.1:20333 - 127.0.0.1:20334 - 127.0.0.1:20335 - 127.0.0.1:20336 @@ -20,8 +21,8 @@ ProtocolConfiguration: ApplicationConfiguration: DataDirectoryPath: "./chains/privnet" - RPCPort: 20332 - NodePort: 20333 + RPCPort: 20331 + NodePort: 20332 Relay: true DialTimeout: 3 ProtoTickInterval: 2