config/docker: fix privnet setup to match neo-local

And make it compatible with our default client privnet setup, so that there
won't be a need to fix ports to connect to neo-go privnet.
This commit is contained in:
Roman Khimov 2019-11-29 13:06:14 +03:00
parent 707215af83
commit 969bfebe80
5 changed files with 40 additions and 40 deletions

View file

@ -24,9 +24,9 @@ services:
neo_go_network: neo_go_network:
ipv4_address: 172.200.0.1 ipv4_address: 172.200.0.1
ports: ports:
- 20331:20331 - 20333:20333
- 20341:20341 - 30333:30333
- 20351:20351 - 20001:20001
node_two: node_two:
container_name: neo_go_node_two container_name: neo_go_node_two
image: env_neo_go_image image: env_neo_go_image
@ -38,9 +38,9 @@ services:
neo_go_network: neo_go_network:
ipv4_address: 172.200.0.2 ipv4_address: 172.200.0.2
ports: ports:
- 20332:20332 - 20334:20334
- 20342:20342 - 30334:30334
- 20352:20352 - 20002:20002
node_three: node_three:
container_name: neo_go_node_three container_name: neo_go_node_three
image: env_neo_go_image image: env_neo_go_image
@ -52,9 +52,9 @@ services:
neo_go_network: neo_go_network:
ipv4_address: 172.200.0.3 ipv4_address: 172.200.0.3
ports: ports:
- 20333:20333 - 20335:20335
- 20343:20343 - 30335:30335
- 20353:20353 - 20003:20003
node_four: node_four:
container_name: neo_go_node_four container_name: neo_go_node_four
image: env_neo_go_image image: env_neo_go_image
@ -66,6 +66,6 @@ services:
neo_go_network: neo_go_network:
ipv4_address: 172.200.0.4 ipv4_address: 172.200.0.4
ports: ports:
- 20334:20334 - 20336:20336
- 20344:20344 - 30336:30336
- 20354:20354 - 20004:20004

View file

@ -9,10 +9,10 @@ ProtocolConfiguration:
- 03d90c07df63e690ce77912e10ab51acc944b66860237b608c4f8f8309e71ee699 - 03d90c07df63e690ce77912e10ab51acc944b66860237b608c4f8f8309e71ee699
- 02a7bc55fe8684e0119768d104ba30795bdcc86619e864add26156723ed185cd62 - 02a7bc55fe8684e0119768d104ba30795bdcc86619e864add26156723ed185cd62
SeedList: SeedList:
- 172.200.0.1:20331 - 172.200.0.1:20333
- 172.200.0.2:20332 - 172.200.0.2:20334
- 172.200.0.3:20333 - 172.200.0.3:20335
- 172.200.0.4:20334 - 172.200.0.4:20336
SystemFee: SystemFee:
EnrollmentTransaction: 1000 EnrollmentTransaction: 1000
IssueTransaction: 500 IssueTransaction: 500
@ -37,7 +37,7 @@ ApplicationConfiguration:
# FilePath: "./chains/privnet.bolt" # FilePath: "./chains/privnet.bolt"
# Uncomment in order to set up custom address for node. # Uncomment in order to set up custom address for node.
# Address: 127.0.0.1 # Address: 127.0.0.1
NodePort: 20334 NodePort: 20336
Relay: true Relay: true
DialTimeout: 3 DialTimeout: 3
ProtoTickInterval: 2 ProtoTickInterval: 2
@ -47,10 +47,10 @@ ApplicationConfiguration:
RPC: RPC:
Enabled: true Enabled: true
EnableCORSWorkaround: false EnableCORSWorkaround: false
Port: 20344 Port: 30336
Monitoring: Monitoring:
Enabled: true Enabled: true
Port: 20354 Port: 20004
UnlockWallet: UnlockWallet:
Path: "6PYRXVwHSqFSukL3CuXxdQ75VmsKpjeLgQLEjt83FrtHf1gCVphHzdD4nc" Path: "6PYRXVwHSqFSukL3CuXxdQ75VmsKpjeLgQLEjt83FrtHf1gCVphHzdD4nc"
Password: "four" Password: "four"

View file

@ -9,10 +9,10 @@ ProtocolConfiguration:
- 03d90c07df63e690ce77912e10ab51acc944b66860237b608c4f8f8309e71ee699 - 03d90c07df63e690ce77912e10ab51acc944b66860237b608c4f8f8309e71ee699
- 02a7bc55fe8684e0119768d104ba30795bdcc86619e864add26156723ed185cd62 - 02a7bc55fe8684e0119768d104ba30795bdcc86619e864add26156723ed185cd62
SeedList: SeedList:
- 172.200.0.1:20331 - 172.200.0.1:20333
- 172.200.0.2:20332 - 172.200.0.2:20334
- 172.200.0.3:20333 - 172.200.0.3:20335
- 172.200.0.4:20334 - 172.200.0.4:20336
SystemFee: SystemFee:
EnrollmentTransaction: 1000 EnrollmentTransaction: 1000
IssueTransaction: 500 IssueTransaction: 500
@ -37,7 +37,7 @@ ApplicationConfiguration:
# FilePath: "./chains/privnet.bolt" # FilePath: "./chains/privnet.bolt"
# Uncomment in order to set up custom address for node. # Uncomment in order to set up custom address for node.
# Address: 127.0.0.1 # Address: 127.0.0.1
NodePort: 20331 NodePort: 20333
Relay: true Relay: true
DialTimeout: 3 DialTimeout: 3
ProtoTickInterval: 2 ProtoTickInterval: 2
@ -47,10 +47,10 @@ ApplicationConfiguration:
RPC: RPC:
Enabled: true Enabled: true
EnableCORSWorkaround: false EnableCORSWorkaround: false
Port: 20341 Port: 30333
Monitoring: Monitoring:
Enabled: true Enabled: true
Port: 20351 Port: 20001
UnlockWallet: UnlockWallet:
Path: "6PYLmjBYJ4wQTCEfqvnznGJwZeW9pfUcV5m5oreHxqryUgqKpTRAFt9L8Y" Path: "6PYLmjBYJ4wQTCEfqvnznGJwZeW9pfUcV5m5oreHxqryUgqKpTRAFt9L8Y"
Password: "one" Password: "one"

View file

@ -9,10 +9,10 @@ ProtocolConfiguration:
- 03d90c07df63e690ce77912e10ab51acc944b66860237b608c4f8f8309e71ee699 - 03d90c07df63e690ce77912e10ab51acc944b66860237b608c4f8f8309e71ee699
- 02a7bc55fe8684e0119768d104ba30795bdcc86619e864add26156723ed185cd62 - 02a7bc55fe8684e0119768d104ba30795bdcc86619e864add26156723ed185cd62
SeedList: SeedList:
- 172.200.0.1:20331 - 172.200.0.1:20333
- 172.200.0.2:20332 - 172.200.0.2:20334
- 172.200.0.3:20333 - 172.200.0.3:20335
- 172.200.0.4:20334 - 172.200.0.4:20336
SystemFee: SystemFee:
EnrollmentTransaction: 1000 EnrollmentTransaction: 1000
IssueTransaction: 500 IssueTransaction: 500
@ -37,7 +37,7 @@ ApplicationConfiguration:
# FilePath: "./chains/privnet.bolt" # FilePath: "./chains/privnet.bolt"
# Uncomment in order to set up custom address for node. # Uncomment in order to set up custom address for node.
# Address: 127.0.0.1 # Address: 127.0.0.1
NodePort: 20333 NodePort: 20335
Relay: true Relay: true
DialTimeout: 3 DialTimeout: 3
ProtoTickInterval: 2 ProtoTickInterval: 2
@ -47,10 +47,10 @@ ApplicationConfiguration:
RPC: RPC:
Enabled: true Enabled: true
EnableCORSWorkaround: false EnableCORSWorkaround: false
Port: 20343 Port: 30335
Monitoring: Monitoring:
Enabled: true Enabled: true
Port: 20353 Port: 20003
UnlockWallet: UnlockWallet:
Path: "6PYX86vYiHfUbpD95hfN1xgnvcSxy5skxfWYKu3ztjecxk6ikYs2kcWbeh" Path: "6PYX86vYiHfUbpD95hfN1xgnvcSxy5skxfWYKu3ztjecxk6ikYs2kcWbeh"
Password: "three" Password: "three"

View file

@ -9,10 +9,10 @@ ProtocolConfiguration:
- 03d90c07df63e690ce77912e10ab51acc944b66860237b608c4f8f8309e71ee699 - 03d90c07df63e690ce77912e10ab51acc944b66860237b608c4f8f8309e71ee699
- 02a7bc55fe8684e0119768d104ba30795bdcc86619e864add26156723ed185cd62 - 02a7bc55fe8684e0119768d104ba30795bdcc86619e864add26156723ed185cd62
SeedList: SeedList:
- 172.200.0.1:20331 - 172.200.0.1:20333
- 172.200.0.2:20332 - 172.200.0.2:20334
- 172.200.0.3:20333 - 172.200.0.3:20335
- 172.200.0.4:20334 - 172.200.0.4:20336
SystemFee: SystemFee:
EnrollmentTransaction: 1000 EnrollmentTransaction: 1000
IssueTransaction: 500 IssueTransaction: 500
@ -37,7 +37,7 @@ ApplicationConfiguration:
# FilePath: "./chains/privnet.bolt" # FilePath: "./chains/privnet.bolt"
# Uncomment in order to set up custom address for node. # Uncomment in order to set up custom address for node.
# Address: 127.0.0.1 # Address: 127.0.0.1
NodePort: 20332 NodePort: 20334
Relay: true Relay: true
DialTimeout: 3 DialTimeout: 3
ProtoTickInterval: 2 ProtoTickInterval: 2
@ -47,10 +47,10 @@ ApplicationConfiguration:
RPC: RPC:
Enabled: true Enabled: true
EnableCORSWorkaround: false EnableCORSWorkaround: false
Port: 20342 Port: 30334
Monitoring: Monitoring:
Enabled: true Enabled: true
Port: 20352 Port: 20002
UnlockWallet: UnlockWallet:
Path: "6PYXHjPaNvW8YknSXaKsTWjf9FRxo1s4naV2jdmSQEgzaqKGX368rndN3L" Path: "6PYXHjPaNvW8YknSXaKsTWjf9FRxo1s4naV2jdmSQEgzaqKGX368rndN3L"
Password: "two" Password: "two"