From 49c9ba7ff0b4910dec18e37d7c7b8df659be4864 Mon Sep 17 00:00:00 2001 From: Seth For Privacy Date: Fri, 9 Sep 2022 11:04:50 -0400 Subject: [PATCH 1/2] Add Traefik labels to Nitter and update Redis version --- apps/nitter/config.json | 1 + apps/nitter/docker-compose.yml | 14 +++++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/apps/nitter/config.json b/apps/nitter/config.json index 4e1543d7..3f5c4f16 100644 --- a/apps/nitter/config.json +++ b/apps/nitter/config.json @@ -2,6 +2,7 @@ "$schema": "../schema.json", "name": "Nitter", "available": true, + "exposable": true, "port": 8106, "id": "nitter", "tipi_version": 1, diff --git a/apps/nitter/docker-compose.yml b/apps/nitter/docker-compose.yml index 479cc285..f5a0fe7f 100644 --- a/apps/nitter/docker-compose.yml +++ b/apps/nitter/docker-compose.yml @@ -13,8 +13,20 @@ services: depends_on: - nitter-redis restart: unless-stopped + healthcheck: + test: ["CMD", "wget" ,"--no-verbose", "--tries=1", "--spider", "http://localhost:8080"] + interval: 1m + timeout: 3s + labels: + traefik.enable: ${APP_EXPOSED} + traefik.http.routers.nitter.rule: Host(`${APP_DOMAIN}`) + traefik.http.routers.nitter.entrypoints: websecure + traefik.http.routers.nitter.service: nitter + traefik.http.routers.nitter.tls.certresolver: myresolver + traefik.http.services.nitter.loadbalancer.server.port: 8080 + nitter-redis: - image: redis:6-alpine + image: redis:alpine container_name: nitter-redis networks: - tipi_main_network From b976740b95613c29f1cbbb3ef1593b12feeab219 Mon Sep 17 00:00:00 2001 From: Nicolas Meienberger Date: Sat, 10 Sep 2022 13:08:34 +0200 Subject: [PATCH 2/2] chore(nitter): bump version --- apps/nitter/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/nitter/config.json b/apps/nitter/config.json index 3f5c4f16..fa0f8f7b 100644 --- a/apps/nitter/config.json +++ b/apps/nitter/config.json @@ -5,7 +5,7 @@ "exposable": true, "port": 8106, "id": "nitter", - "tipi_version": 1, + "tipi_version": 2, "version": "latest", "categories": ["social"], "description": "A free and open source alternative Twitter front-end focused on privacy and performance.",