fix the logging issue
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user