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/scroll-mainnet-archive \
# -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:
scroll-mainnet-archive:
@@ -76,6 +81,7 @@ services:
volumes:
- ${SCROLL_MAINNET_L2GETH_ARCHIVE_LEVELDB_HASH_DATA:-scroll-mainnet-l2geth-archive-leveldb-hash}:/root/.ethereum
- /slowdisk:/slowdisk
logging: *logging-defaults
labels:
- traefik.enable=true
- traefik.http.middlewares.scroll-mainnet-l2geth-archive-leveldb-hash-stripprefix.stripprefix.prefixes=/scroll-mainnet-archive

View File

@@ -22,6 +22,11 @@
# curl -X POST https://${IP}.traefik.me/scroll-sepolia-archive \
# -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:
scroll-sepolia-archive:
@@ -78,6 +83,7 @@ services:
volumes:
- ${SCROLL_SEPOLIA_L2GETH_ARCHIVE_LEVELDB_HASH_DATA:-scroll-sepolia-l2geth-archive-leveldb-hash}:/root/.ethereum
- /slowdisk:/slowdisk
logging: *logging-defaults
labels:
- traefik.enable=true
- traefik.http.middlewares.scroll-sepolia-l2geth-archive-leveldb-hash-stripprefix.stripprefix.prefixes=/scroll-sepolia-archive