add pruning to nitro
This commit is contained in:
@@ -60,6 +60,7 @@ services:
|
|||||||
- --http.port=8545
|
- --http.port=8545
|
||||||
- --http.vhosts=*
|
- --http.vhosts=*
|
||||||
- --init.download-path=/tmp
|
- --init.download-path=/tmp
|
||||||
|
- --init.prune=full
|
||||||
- --metrics
|
- --metrics
|
||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ services:
|
|||||||
- --http.port=8545
|
- --http.port=8545
|
||||||
- --http.vhosts=*
|
- --http.vhosts=*
|
||||||
- --init.download-path=/tmp
|
- --init.download-path=/tmp
|
||||||
|
- --init.prune=full
|
||||||
- --metrics
|
- --metrics
|
||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
|
|||||||
@@ -59,6 +59,7 @@ services:
|
|||||||
- --http.vhosts=*
|
- --http.vhosts=*
|
||||||
- --init.download-path=/tmp
|
- --init.download-path=/tmp
|
||||||
- --init.latest=pruned
|
- --init.latest=pruned
|
||||||
|
- --init.prune=full
|
||||||
- --metrics
|
- --metrics
|
||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ services:
|
|||||||
- --http.vhosts=*
|
- --http.vhosts=*
|
||||||
- --init.download-path=/tmp
|
- --init.download-path=/tmp
|
||||||
- --init.latest=pruned
|
- --init.latest=pruned
|
||||||
|
- --init.prune=full
|
||||||
- --metrics
|
- --metrics
|
||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
|
|||||||
@@ -59,6 +59,7 @@ services:
|
|||||||
- --http.vhosts=*
|
- --http.vhosts=*
|
||||||
- --init.download-path=/tmp
|
- --init.download-path=/tmp
|
||||||
- --init.latest=pruned
|
- --init.latest=pruned
|
||||||
|
- --init.prune=full
|
||||||
- --metrics
|
- --metrics
|
||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
|
|||||||
@@ -59,6 +59,7 @@ services:
|
|||||||
- --http.vhosts=*
|
- --http.vhosts=*
|
||||||
- --init.download-path=/tmp
|
- --init.download-path=/tmp
|
||||||
- --init.latest=pruned
|
- --init.latest=pruned
|
||||||
|
- --init.prune=full
|
||||||
- --metrics
|
- --metrics
|
||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ services:
|
|||||||
- --http.port=8545
|
- --http.port=8545
|
||||||
- --http.vhosts=*
|
- --http.vhosts=*
|
||||||
- --init.download-path=/tmp
|
- --init.download-path=/tmp
|
||||||
|
- --init.prune=full
|
||||||
- --metrics
|
- --metrics
|
||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ services:
|
|||||||
- --http.port=8545
|
- --http.port=8545
|
||||||
- --http.vhosts=*
|
- --http.vhosts=*
|
||||||
- --init.download-path=/tmp
|
- --init.download-path=/tmp
|
||||||
|
- --init.prune=full
|
||||||
- --metrics
|
- --metrics
|
||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ services:
|
|||||||
- --http.port=8545
|
- --http.port=8545
|
||||||
- --http.vhosts=*
|
- --http.vhosts=*
|
||||||
- --init.download-path=/tmp
|
- --init.download-path=/tmp
|
||||||
|
- --init.prune=full
|
||||||
- --metrics
|
- --metrics
|
||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ services:
|
|||||||
- --http.port=8545
|
- --http.port=8545
|
||||||
- --http.vhosts=*
|
- --http.vhosts=*
|
||||||
- --init.download-path=/tmp
|
- --init.download-path=/tmp
|
||||||
|
- --init.prune=full
|
||||||
- --metrics
|
- --metrics
|
||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ services:
|
|||||||
- --http.port=8545
|
- --http.port=8545
|
||||||
- --http.vhosts=*
|
- --http.vhosts=*
|
||||||
- --init.download-path=/tmp
|
- --init.download-path=/tmp
|
||||||
|
- --init.prune=full
|
||||||
- --metrics
|
- --metrics
|
||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
|
|||||||
@@ -4,6 +4,12 @@ x-logging-defaults: &logging-defaults
|
|||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "10m"
|
||||||
max-file: "3"
|
max-file: "3"
|
||||||
|
# To fix the database after corruption through restart run
|
||||||
|
#
|
||||||
|
# docker compose stop fantom-mainnet
|
||||||
|
# docker compose run -it --rm --entrypoint sonictool fantom-mainnet --datadir heal /var/sonic
|
||||||
|
# docker compose start fantom-mainnet
|
||||||
|
#
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -4,6 +4,12 @@ x-logging-defaults: &logging-defaults
|
|||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "10m"
|
||||||
max-file: "3"
|
max-file: "3"
|
||||||
|
# To fix the database after corruption through restart run
|
||||||
|
#
|
||||||
|
# docker compose stop fantom-testnet
|
||||||
|
# docker compose run -it --rm --entrypoint sonictool fantom-testnet --datadir heal /var/sonic
|
||||||
|
# docker compose start fantom-testnet
|
||||||
|
#
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -4,6 +4,12 @@ x-logging-defaults: &logging-defaults
|
|||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "10m"
|
||||||
max-file: "3"
|
max-file: "3"
|
||||||
|
# Beware that the port range is fixed to 4000-4010.
|
||||||
|
# effectively only 4001,4002 are used
|
||||||
|
# the actual source of truth seems to be running in Tokio
|
||||||
|
# everyone else may be a slave to the truth
|
||||||
|
#
|
||||||
|
# the client should actually be named "node" but I'm going to fix the naming later... or not.
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -4,6 +4,12 @@ x-logging-defaults: &logging-defaults
|
|||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "10m"
|
||||||
max-file: "3"
|
max-file: "3"
|
||||||
|
# Beware that the port range is fixed to 4000-4010.
|
||||||
|
# effectively only 4001,4002 are used
|
||||||
|
# the actual source of truth seems to be running in Tokio
|
||||||
|
# everyone else may be a slave to the truth
|
||||||
|
#
|
||||||
|
# the client should actually be named "node" but I'm going to fix the naming later... or not.
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -4,6 +4,12 @@ x-logging-defaults: &logging-defaults
|
|||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "10m"
|
||||||
max-file: "3"
|
max-file: "3"
|
||||||
|
# To fix the database after corruption through restart run
|
||||||
|
#
|
||||||
|
# docker compose stop sonic-mainnet
|
||||||
|
# docker compose run -it --rm --entrypoint sonictool sonic-mainnet --datadir heal /var/sonic
|
||||||
|
# docker compose start sonic-mainnet
|
||||||
|
#
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user