From 5076a4b3ee17bd54db37b92a884de29573359749 Mon Sep 17 00:00:00 2001 From: sora Date: Tue, 11 Jan 2022 19:03:55 +0100 Subject: [PATCH] Added Caching --- docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 472fe1e..a6c9884 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,5 +15,9 @@ services: - "traefik.http.routers.startpage.rule=Host(`start.helcel.net`)" - "traefik.http.routers.startpage.tls=true" - "traefik.http.services.startpage.loadbalancer.server.port=8080" + - "traefik.http.routers.startpage.middlewares=startpage-cache" + - "traefik.http.middlewares.startpage-cache.plugin.souin.api.souin.enable=true" + - "traefik.http.middlewares.startpage-cache.plugin.souin.default_cache.headers=Content-Type" + - "traefik.http.middlewares.startpage-cache.plugin.souin.default_cache.ttl=900s" - "traefik.docker.network=external" restart: always \ No newline at end of file