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/op-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:
op-mainnet-archive:
@@ -78,6 +83,7 @@ services:
- ${OP_MAINNET_L2GETH_ARCHIVE_LEVELDB_HASH_DATA:-op-mainnet-l2geth-archive-leveldb-hash}:/geth
- ./op/op/mainnet:/config
- /slowdisk:/slowdisk
logging: *logging-defaults
labels:
- traefik.enable=true
- traefik.http.middlewares.op-mainnet-l2geth-archive-leveldb-hash-stripprefix.stripprefix.prefixes=/op-mainnet-archive