fix the logging issue

This commit is contained in:
Para Dox
2025-05-12 10:12:47 +07:00
parent c83ed6d7d3
commit 3d98079a2a
273 changed files with 1885 additions and 0 deletions

View File

@@ -22,6 +22,11 @@
# curl -X POST https://${IP}.traefik.me/core-buffalo \
# -H "Content-Type: application/json" \
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
x-logging-defaults: &logging-defaults
driver: json-file
options:
max-size: 10m
max-file: '3'
services:
core-buffalo:
@@ -77,6 +82,7 @@ services:
- ${CORE_BUFFALO_CORE_PRUNED_PEBBLE_PATH_DATA:-core-buffalo-core-pruned-pebble-path}:/core/.ethereum
- ./core/buffalo:/config
- /slowdisk:/slowdisk
logging: *logging-defaults
labels:
- traefik.enable=true
- traefik.http.middlewares.core-buffalo-core-pruned-pebble-path-stripprefix.stripprefix.prefixes=/core-buffalo