add pruning to nitro

This commit is contained in:
goldsquid
2025-06-19 16:29:39 +07:00
parent 2d570187df
commit 51ba55d300
16 changed files with 41 additions and 0 deletions

View File

@@ -60,6 +60,7 @@ services:
- --http.port=8545
- --http.vhosts=*
- --init.download-path=/tmp
- --init.prune=full
- --metrics
- --metrics-server.addr=0.0.0.0
- --metrics-server.port=6070

View File

@@ -60,6 +60,7 @@ services:
- --http.port=8545
- --http.vhosts=*
- --init.download-path=/tmp
- --init.prune=full
- --metrics
- --metrics-server.addr=0.0.0.0
- --metrics-server.port=6070

View File

@@ -59,6 +59,7 @@ services:
- --http.vhosts=*
- --init.download-path=/tmp
- --init.latest=pruned
- --init.prune=full
- --metrics
- --metrics-server.addr=0.0.0.0
- --metrics-server.port=6070

View File

@@ -60,6 +60,7 @@ services:
- --http.vhosts=*
- --init.download-path=/tmp
- --init.latest=pruned
- --init.prune=full
- --metrics
- --metrics-server.addr=0.0.0.0
- --metrics-server.port=6070

View File

@@ -59,6 +59,7 @@ services:
- --http.vhosts=*
- --init.download-path=/tmp
- --init.latest=pruned
- --init.prune=full
- --metrics
- --metrics-server.addr=0.0.0.0
- --metrics-server.port=6070

View File

@@ -59,6 +59,7 @@ services:
- --http.vhosts=*
- --init.download-path=/tmp
- --init.latest=pruned
- --init.prune=full
- --metrics
- --metrics-server.addr=0.0.0.0
- --metrics-server.port=6070

View File

@@ -60,6 +60,7 @@ services:
- --http.port=8545
- --http.vhosts=*
- --init.download-path=/tmp
- --init.prune=full
- --metrics
- --metrics-server.addr=0.0.0.0
- --metrics-server.port=6070

View File

@@ -60,6 +60,7 @@ services:
- --http.port=8545
- --http.vhosts=*
- --init.download-path=/tmp
- --init.prune=full
- --metrics
- --metrics-server.addr=0.0.0.0
- --metrics-server.port=6070

View File

@@ -60,6 +60,7 @@ services:
- --http.port=8545
- --http.vhosts=*
- --init.download-path=/tmp
- --init.prune=full
- --metrics
- --metrics-server.addr=0.0.0.0
- --metrics-server.port=6070

View File

@@ -60,6 +60,7 @@ services:
- --http.port=8545
- --http.vhosts=*
- --init.download-path=/tmp
- --init.prune=full
- --metrics
- --metrics-server.addr=0.0.0.0
- --metrics-server.port=6070

View File

@@ -60,6 +60,7 @@ services:
- --http.port=8545
- --http.vhosts=*
- --init.download-path=/tmp
- --init.prune=full
- --metrics
- --metrics-server.addr=0.0.0.0
- --metrics-server.port=6070

View File

@@ -4,6 +4,12 @@ x-logging-defaults: &logging-defaults
options:
max-size: "10m"
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:
#

View File

@@ -4,6 +4,12 @@ x-logging-defaults: &logging-defaults
options:
max-size: "10m"
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:
#

View File

@@ -4,6 +4,12 @@ x-logging-defaults: &logging-defaults
options:
max-size: "10m"
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:
#

View File

@@ -4,6 +4,12 @@ x-logging-defaults: &logging-defaults
options:
max-size: "10m"
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:
#

View File

@@ -4,6 +4,12 @@ x-logging-defaults: &logging-defaults
options:
max-size: "10m"
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:
#