From 3ce59b84ff3c6ca2c43301f42eda8933adae18e8 Mon Sep 17 00:00:00 2001 From: Sebastian <379651+czarly@users.noreply.github.com> Date: Sun, 29 Jan 2023 17:18:40 +0100 Subject: [PATCH] traefik for celo --- celo-archive.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/celo-archive.yml b/celo-archive.yml index b9cf828c..65a13f2c 100644 --- a/celo-archive.yml +++ b/celo-archive.yml @@ -27,6 +27,15 @@ services: - celo-archive:/root/.celo networks: - chains + labels: + - "traefik.enable=true" + - "traefik.http.middlewares.celo-stripprefix.stripprefix.prefixes=/celo-archive" + - "traefik.http.services.celo.loadbalancer.server.port=8545" + - "traefik.http.routers.celo.entrypoints=websecure" + - "traefik.http.routers.celo.tls.certresolver=myresolver" + - "traefik.http.routers.celo.rule=Host(`$DOMAIN`) && PathPrefix(`/celo-archive`)" + - "traefik.http.routers.celo.middlewares=celo-stripprefix, ipwhitelist" + volumes: celo-archive: