From 3b99b09db77552af4573fb3609bbe1701cceb426 Mon Sep 17 00:00:00 2001 From: Bnyro <82752168+Bnyro@users.noreply.github.com> Date: Mon, 29 Apr 2024 12:56:11 +0200 Subject: [PATCH] chore: update config.properties from Piped-Backend repo --- template/config.properties | 56 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/template/config.properties b/template/config.properties index ef1686f..c2ae410 100644 --- a/template/config.properties +++ b/template/config.properties @@ -29,6 +29,62 @@ DISABLE_REGISTRATION: false # Feed Retention Time in Days FEED_RETENTION: 30 +# Disable CPU expensive timers (for nodes with low CPU, at least one node should have this disabled) +DISABLE_TIMERS:false + +# RYD Proxy URL (see https://github.com/TeamPiped/RYD-Proxy) +RYD_PROXY_URL:https://ryd-proxy.kavin.rocks + +# SponsorBlock Servers(s) +# Comma separated list of SponsorBlock Servers to use +SPONSORBLOCK_SERVERS:https://sponsor.ajay.app,https://sponsorblock.kavin.rocks + +# Disable the usage of RYD +DISABLE_RYD:false + +# Disable API server (node just runs timers if enabled) +DISABLE_SERVER:false + +# Disable the inclusion of LBRY streams +DISABLE_LBRY:false + +# How long should unauthenticated subscriptions last for +SUBSCRIPTIONS_EXPIRY:30 + +# Send consent accepted cookie +# This is required for certain features to work in some countries +CONSENT_COOKIE:true + +# Sentry DSN +# Use Sentry to log errors and trace performance +#SENTRY_DSN:INSERT_HERE + +# Matrix Client Server URL +MATRIX_SERVER:https://matrix-client.matrix.org +# Matrix Access Token +# If not present, will work in anon mode +#MATRIX_TOKEN:INSERT_HERE + +# Geo Restriction Checker for federated bypassing of Geo Restrictions +#GEO_RESTRICTION_CHECKER_URL:INSERT_HERE + +# S3 Configuration Data (compatible with any provider that offers an S3 compatible API) +#S3_ENDPOINT:INSERT_HERE +#S3_ACCESS_KEY:INSERT_HERE +#S3_SECRET_KEY:INSERT_HERE +#S3_BUCKET:INSERT_HERE + +# Hibernate properties +hibernate.connection.url:jdbc:postgresql://postgres:5432/piped +hibernate.connection.driver_class:org.postgresql.Driver +hibernate.dialect:org.hibernate.dialect.PostgreSQLDialect +hibernate.connection.username:piped +hibernate.connection.password:changeme + +# Frontend configuration +#frontend.statusPageUrl:changeme +#frontend.donationUrl:changeme + # Hibernate properties hibernate.connection.url: jdbc:postgresql://postgres:5432/piped hibernate.connection.driver_class: org.postgresql.Driver