From 4e72f2ce12d82fac64e567b1b84f0929a0938a4a Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Tue, 7 Feb 2023 17:47:52 +0200 Subject: [PATCH] update defaults --- defaults/main.yml | 63 +++++++++++++++++++++++------------------------ 1 file changed, 31 insertions(+), 32 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index ceb3bfc..bcfffdd 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -7,6 +7,37 @@ invidious_internal_port: 3000 #handle_ufw will allow access to individious_internal_port from everywhere, use it only if Invidious handles SSL or you don't want to use SSL (what?) handle_ufw: false handle_apache2_reverse_proxy: false +# Please read the following file for a comprehensive list of all available +# configuration options and their associated syntax: +# https://github.com/iv-org/invidious/blob/master/config/config.example.yml +invidious_config: + db: + dbname: invidious + user: kemal + password: kemal + host: invidious-db + port: 5432 + check_tables: true + external_port: 443 + domain: {{ invidious_hostname }} + https_only: true + statistics_enabled: true + use_quic: true + admins: ["admin"] + banner: "Invidious" + default_user_preferences: + dark_mode: "dark" + local: true + quality_dash: auto + extend_desc: true + registration_enabled: true + login_enabled: true + captcha_enabled: true + port: 3300 + hsts: true + log_level: All + channel_threads: 3 + use_pubsub_feeds: true docker_compose_options: version: "3" services: @@ -16,38 +47,6 @@ docker_compose_options: restart: unless-stopped ports: - "127.0.0.1:3300:3300" - environment: - # Please read the following file for a comprehensive list of all available - # configuration options and their associated syntax: - # https://github.com/iv-org/invidious/blob/master/config/config.example.yml - INVIDIOUS_CONFIG: | - db: - dbname: invidious - user: kemal - password: kemal - host: invidious-db - port: 5432 - check_tables: true - external_port: 443 - domain: {{ invidious_hostname }} - https_only: true - statistics_enabled: true - use_quic: true - admins: ["admin"] - banner: "Invidious" - default_user_preferences: - dark_mode: "dark" - local: true - quality_dash: auto - extend_desc: true - registration_enabled: true - login_enabled: true - captcha_enabled: true - port: 3300 - hsts: true - log_level: All - channel_threads: 3 - use_pubsub_feeds: true healthcheck: test: wget -nv --tries=1 --spider http://127.0.0.1:3300/api/v1/comments/jNQXAC9IVRw || exit 1 interval: 30s