Explorar o código

More tweaking of the template to try and fix the issues

Robert Middleswarth %!s(int64=2) %!d(string=hai) anos
pai
achega
93515cdfde
Modificáronse 2 ficheiros con 16 adicións e 16 borrados
  1. 5 5
      stack/invidious.yml
  2. 11 11
      template/apps/invidious.json

+ 5 - 5
stack/invidious.yml

@@ -16,9 +16,9 @@ services:
           host: invidious-db
           port: 5432
         check_tables: true
-        domain: "${DOMAIN}"
+        domain: ${DOMAIN}
         https_only: ${HTTPS_ONLY}
-        external_port: "${EXTERNAL_PORT}"
+        external_port: ${EXTERNAL_PORT}
         popular_enabled: ${POPULAR_ENABLED}
         statistics_enabled: ${STATISTICS_ENABLED}
         registration_enabled: ${REGISTRATION_ENABLED}
@@ -28,8 +28,8 @@ services:
         feed_threads: 1
         default_user_preferences:
           locale: en-US
-          region: "${REGION}"
-          captions: ["", "", ""]
+          region: ${REGION}
+          #captions: ["", "", ""]
           dark_mode: ${DARK_MODE}
           thin_mode: false
           feed_menu: ["Popular", "Trending", "Subscriptions", "Playlists"]
@@ -55,6 +55,6 @@ services:
     environment:
       POSTGRES_DB: invidious
       POSTGRES_USER: kemal
-      POSTGRES_PASSWORD: "${DB_PASSWORD}"
+      POSTGRES_PASSWORD: ${DB_PASSWORD}
     healthcheck:
       test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]

+ 11 - 11
template/apps/invidious.json

@@ -22,12 +22,12 @@
 			"name": "DOMAIN"
 		},
 		{
-			"description": "Leave it empty if not using a public instance",
+			"description": "Leave false if not using a public instance",
 			"label": "HTTPS_ONLY",
 			"name": "HTTPS_ONLY",
 			"select": [
 				{
-					"default": true,
+					"default": false,
 					"text": "ALLOW HTTP",
 					"value": "false"
 				},
@@ -38,7 +38,7 @@
 			]
 		},
 		{
-			"default": "",
+			"default": "443",
 			"description": "Use 443 if HTTPS_ONLY is enabled or leave it blank",
 			"label": "EXTERNAL_PORT",
 			"name": "EXTERNAL_PORT"
@@ -49,12 +49,12 @@
 			"select": [
 				{
 					"default": true,
-					"text": "Disable POPULAR page (better for privacy)",
-					"value": "false"
-				},
-				{
 					"text": "Enable POPULAR videos in this instance",
 					"value": "true"
+				},
+				{
+					"text": "Disable POPULAR page (better for privacy)",
+					"value": "false"
 				}
 			]
 		},
@@ -64,12 +64,12 @@
 			"select": [
 				{
 					"default": true,
-					"text": "Disable Statistics",
-					"value": "false"
-				},
-				{
 					"text": "Enable Statistics",
 					"value": "true"
+				},
+				{
+					"text": "Disable Statistics",
+					"value": "false"
 				}
 			]
 		},