Move from --rpc to --rest in docker-compose examples (#3910)

* Move from --rpc to --rest in docker-compose examples

* Change REST port to 5052
This commit is contained in:
Taneli Hukkinen 2022-07-25 21:45:02 +03:00 committed by GitHub
parent 5b66cd141e
commit 10309e3d27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 6 deletions

View File

@ -15,7 +15,7 @@ services:
ports:
- 9000:9000/tcp
- 9000:9000/udp
- 127.0.0.1:9190:9190/tcp
- 127.0.0.1:5052:5052/tcp
- 127.0.0.1:8008:8008/tcp
volumes:
- ./data:/home/user/nimbus-eth2/build/data
@ -28,9 +28,9 @@ services:
--log-level=info
--tcp-port=9000
--udp-port=9000
--rpc
--rpc-address=0.0.0.0
--rpc-port=9190
--rest
--rest-address=0.0.0.0
--rest-port=5052
--metrics
--metrics-address=0.0.0.0
--metrics-port=8008

View File

@ -15,7 +15,7 @@ services:
ports:
- 9000:9000/tcp
- 9000:9000/udp
- 127.0.0.1:9190:9190/tcp
- 127.0.0.1:5052:5052/tcp
- 127.0.0.1:8008:8008/tcp
volumes:
- ./data:/home/user/nimbus-eth2/build/data
@ -25,7 +25,8 @@ services:
# you need to make sure that port 9000 is accesible from outside; no automagic port forwarding here
command: >-
--nat=extip:YOUR_EXTERNAL_IP
--rpc-address=0.0.0.0
--rest
--rest-address=0.0.0.0
--metrics
--metrics-address=0.0.0.0