give geth linea a ip
This commit is contained in:
@@ -27,6 +27,7 @@ services:
|
|||||||
"--gpo.maxprice=100000000000000",
|
"--gpo.maxprice=100000000000000",
|
||||||
"--txpool.nolocals",
|
"--txpool.nolocals",
|
||||||
"--http",
|
"--http",
|
||||||
|
"--nat extip:${IP}",
|
||||||
"--http.addr=0.0.0.0",
|
"--http.addr=0.0.0.0",
|
||||||
"--http.port=8545",
|
"--http.port=8545",
|
||||||
"--http.corsdomain=*",
|
"--http.corsdomain=*",
|
||||||
@@ -52,7 +53,7 @@ services:
|
|||||||
- geth-linea:/root/.ethereum
|
- geth-linea:/root/.ethereum
|
||||||
- ./linea/shared:/configs/mainnet/shared
|
- ./linea/shared:/configs/mainnet/shared
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
stop_grace_period: 1m
|
stop_grace_period: 5m
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.middlewares.linea-stripprefix.stripprefix.prefixes=/linea"
|
- "traefik.http.middlewares.linea-stripprefix.stripprefix.prefixes=/linea"
|
||||||
|
|||||||
Reference in New Issue
Block a user