浏览代码

Update Nitter config

Nicolas Meienberger 3 年之前
父节点
当前提交
b37eae46b9
共有 2 个文件被更改,包括 14 次插入18 次删除
  1. 11 11
      apps/nitter/config.json
  2. 3 7
      apps/nitter/docker-compose.yml

+ 11 - 11
apps/nitter/config.json

@@ -1,12 +1,12 @@
 {
 {
-    "name": "Nitter",
-    "available": true,
-    "port": 8106,
-    "id": "nitter",
-    "description": "A free and open source alternative Twitter front-end focused on privacy and performance.",
-    "short_desc": "Twitter without annoyances!",
-    "author": "Stetsed",
-    "source": "https://github.com/zedeus/nitter",
-    "image": "https://raw.githubusercontent.com/zedeus/nitter/master/public/favicon.ico",
-    "form_fields": {}
-  } 
+  "name": "Nitter",
+  "available": true,
+  "port": 8106,
+  "id": "nitter",
+  "description": "A free and open source alternative Twitter front-end focused on privacy and performance.",
+  "short_desc": "Twitter without annoyances!",
+  "author": "zedeus",
+  "source": "https://github.com/zedeus/nitter",
+  "image": "https://raw.githubusercontent.com/zedeus/nitter/master/public/favicon.ico",
+  "form_fields": {}
+}

+ 3 - 7
apps/nitter/docker-compose.yml

@@ -1,7 +1,6 @@
-version: "3"
+version: "3.7"
 
 
 services:
 services:
-
   nitter:
   nitter:
     image: zedeus/nitter:latest
     image: zedeus/nitter:latest
     container_name: nitter
     container_name: nitter
@@ -21,8 +20,5 @@ services:
       - tipi_main_network
       - tipi_main_network
     command: redis-server --save 60 1 --loglevel warning
     command: redis-server --save 60 1 --loglevel warning
     volumes:
     volumes:
-      - nitter-redis:/data
-    restart: unless-stopped
-
-volumes:
-  nitter-redis: 
+      - "${APP_DATA_DIR}/data/redis:/data"
+    restart: unless-stopped