From c648d1304a06fc02988d21817ff958dc69cb2a9b Mon Sep 17 00:00:00 2001 From: Para Dox Date: Mon, 19 May 2025 21:41:09 +0700 Subject: [PATCH] force it --- ...p-mainnet-op-geth-archive-leveldb-hash.yml | 26 ++----------------- ...op-mainnet-l2geth-archive-leveldb-hash.yml | 26 ++----------------- 2 files changed, 4 insertions(+), 48 deletions(-) diff --git a/op/geth/op-mainnet-op-geth-archive-leveldb-hash.yml b/op/geth/op-mainnet-op-geth-archive-leveldb-hash.yml index dae19c95..fa3d61f6 100644 --- a/op/geth/op-mainnet-op-geth-archive-leveldb-hash.yml +++ b/op/geth/op-mainnet-op-geth-archive-leveldb-hash.yml @@ -155,7 +155,7 @@ services: - prometheus-scrape.port=7300 - prometheus-scrape.path=/metrics - op-mainnet-l2geth-archive-client: + op-mainnet-l2geth-archive: image: ${OP_L2GETH_IMAGE:-ethereumoptimism/l2geth}:${OP_MAINNET_L2GETH_VERSION:-0.5.31} sysctls: # TCP Performance @@ -176,7 +176,6 @@ services: - 12952:12952/udp expose: - 8545 - - 8546 env_file: - ./op/op/mainnet/l2geth.env environment: @@ -207,7 +206,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 + logging: driver: json-file options: max-size: 10m @@ -215,27 +214,6 @@ services: labels: - prometheus-scrape.enabled=false - op-mainnet-l2geth-archive: - image: nginx - expose: - - '80' - environment: - PROXY_HOST: op-mainnet-l2geth-archive-client - RPC_PATH: '' - RPC_PORT: 8545 - WS_PATH: '' - WS_PORT: 8546 - restart: unless-stopped - depends_on: - - op-mainnet-l2geth-archive-client - networks: - - chains - volumes: - - ./nginx-proxy:/etc/nginx/templates - logging: *logging-defaults - labels: - - prometheus-scrape.enabled=false - volumes: op-mainnet-l2geth-archive-leveldb-hash: op-mainnet-op-geth-archive-leveldb-hash: diff --git a/op/l2geth/op-mainnet-l2geth-archive-leveldb-hash.yml b/op/l2geth/op-mainnet-l2geth-archive-leveldb-hash.yml index 7749d19e..eec5857e 100644 --- a/op/l2geth/op-mainnet-l2geth-archive-leveldb-hash.yml +++ b/op/l2geth/op-mainnet-l2geth-archive-leveldb-hash.yml @@ -29,7 +29,7 @@ x-logging-defaults: &logging-defaults max-file: '3' services: - op-mainnet-l2geth-archive-client: + op-mainnet-l2geth-archive: image: ${OP_L2GETH_IMAGE:-ethereumoptimism/l2geth}:${OP_MAINNET_L2GETH_VERSION:-0.5.31} sysctls: # TCP Performance @@ -50,7 +50,6 @@ services: - 12952:12952/udp expose: - 8545 - - 8546 env_file: - ./op/op/mainnet/l2geth.env environment: @@ -84,30 +83,9 @@ services: logging: *logging-defaults labels: - prometheus-scrape.enabled=false - - op-mainnet-l2geth-archive: - image: nginx - expose: - - '80' - environment: - PROXY_HOST: op-mainnet-l2geth-archive-client - RPC_PATH: '' - RPC_PORT: 8545 - WS_PATH: '' - WS_PORT: 8546 - restart: unless-stopped - depends_on: - - op-mainnet-l2geth-archive-client - networks: - - chains - volumes: - - ./nginx-proxy:/etc/nginx/templates - logging: *logging-defaults - labels: - - prometheus-scrape.enabled=false - traefik.enable=true - traefik.http.middlewares.op-mainnet-l2geth-archive-leveldb-hash-stripprefix.stripprefix.prefixes=/op-mainnet-l2geth-archive - - traefik.http.services.op-mainnet-l2geth-archive-leveldb-hash.loadbalancer.server.port=80 + - traefik.http.services.op-mainnet-l2geth-archive-leveldb-hash.loadbalancer.server.port=8545 - ${NO_SSL:-traefik.http.routers.op-mainnet-l2geth-archive-leveldb-hash.entrypoints=websecure} - ${NO_SSL:-traefik.http.routers.op-mainnet-l2geth-archive-leveldb-hash.tls.certresolver=myresolver} - ${NO_SSL:-traefik.http.routers.op-mainnet-l2geth-archive-leveldb-hash.rule=Host(`$DOMAIN`) && (Path(`/op-mainnet-l2geth-archive`) || Path(`/op-mainnet-l2geth-archive/`))}