add ip
This commit is contained in:
@@ -15,6 +15,7 @@ services:
|
|||||||
# Blockchain sync mode ("snap", "full" or "light")
|
# Blockchain sync mode ("snap", "full" or "light")
|
||||||
"--syncmode=snap",
|
"--syncmode=snap",
|
||||||
"--port=27374",
|
"--port=27374",
|
||||||
|
"--nat=extip:$IP"
|
||||||
# Megabytes of memory allocated to internal caching
|
# Megabytes of memory allocated to internal caching
|
||||||
"--cache=8192",
|
"--cache=8192",
|
||||||
# Enable the WS-RPC server
|
# Enable the WS-RPC server
|
||||||
@@ -34,7 +35,7 @@ services:
|
|||||||
"--metrics",
|
"--metrics",
|
||||||
"--metrics.addr=0.0.0.0",
|
"--metrics.addr=0.0.0.0",
|
||||||
# Maximum number of network peers (network disabled if set to 0) (default: 50)
|
# Maximum number of network peers (network disabled if set to 0) (default: 50)
|
||||||
"--maxpeers=30"
|
"--maxpeers=100"
|
||||||
]
|
]
|
||||||
networks:
|
networks:
|
||||||
- chains
|
- chains
|
||||||
|
|||||||
Reference in New Issue
Block a user