Merge branch 'ScuttleSE-master'

This commit is contained in:
Athou
2023-07-09 14:37:53 +02:00
3 changed files with 26 additions and 27 deletions

View File

@@ -82,7 +82,7 @@ app:
# Database connection # Database connection
# ------------------- # -------------------
# for MySQL # for MySQL
# driverClass is com.mysql.jdbc.Driver # driverClass is com.mysql.cj.jdbc.Driver
# url is jdbc:mysql://localhost/commafeed?autoReconnect=true&failOverReadOnly=false&maxReconnects=20&rewriteBatchedStatements=true # url is jdbc:mysql://localhost/commafeed?autoReconnect=true&failOverReadOnly=false&maxReconnects=20&rewriteBatchedStatements=true
# #
# for PostgreSQL # for PostgreSQL

View File

@@ -6,28 +6,28 @@ app:
# whether to expose a robots.txt file that disallows web crawlers and search engine indexers # whether to expose a robots.txt file that disallows web crawlers and search engine indexers
hideFromWebCrawlers: true hideFromWebCrawlers: true
# whether to allow user registrations # whether to allow user registrations
allowRegistrations: false allowRegistrations: false
# whether to enable strict password validation (1 uppercase char, 1 lowercase char, 1 digit, 1 special char) # whether to enable strict password validation (1 uppercase char, 1 lowercase char, 1 digit, 1 special char)
strictPasswordPolicy: true strictPasswordPolicy: true
# create a demo account the first time the app starts # create a demo account the first time the app starts
createDemoAccount: false createDemoAccount: false
# put your google analytics tracking code here # put your google analytics tracking code here
googleAnalyticsTrackingCode: googleAnalyticsTrackingCode:
# put your google server key (used for youtube favicon fetching) # put your google server key (used for youtube favicon fetching)
googleAuthKey: googleAuthKey:
# number of http threads # number of http threads
backgroundThreads: 3 backgroundThreads: 3
# number of database updating threads # number of database updating threads
databaseUpdateThreads: 1 databaseUpdateThreads: 1
# settings for sending emails (password recovery) # settings for sending emails (password recovery)
smtpHost: smtpHost:
smtpPort: smtpPort:
@@ -43,28 +43,28 @@ app:
graphiteHost: "localhost" graphiteHost: "localhost"
graphitePort: 2003 graphitePort: 2003
graphiteInterval: 60 graphiteInterval: 60
# whether this commafeed instance has a lot of feeds to refresh # whether this commafeed instance has a lot of feeds to refresh
# leave this to false in almost all cases # leave this to false in almost all cases
heavyLoad: false heavyLoad: false
# minimum amount of time commafeed will wait before refreshing the same feed # minimum amount of time commafeed will wait before refreshing the same feed
refreshIntervalMinutes: 5 refreshIntervalMinutes: 5
# whether to enable pubsub # whether to enable pubsub
# probably not needed if refreshIntervalMinutes is low # probably not needed if refreshIntervalMinutes is low
pubsubhubbub: false pubsubhubbub: false
# if enabled, images in feed entries will be proxied through the server instead of accessed directly by the browser # if enabled, images in feed entries will be proxied through the server instead of accessed directly by the browser
# useful if commafeed is usually accessed through a restricting proxy # useful if commafeed is usually accessed through a restricting proxy
imageProxyEnabled: false imageProxyEnabled: false
# database query timeout (in milliseconds), 0 to disable # database query timeout (in milliseconds), 0 to disable
queryTimeout: 0 queryTimeout: 0
# time to keep unread statuses (in days), 0 to disable # time to keep unread statuses (in days), 0 to disable
keepStatusDays: 0 keepStatusDays: 0
# entries to keep per feed, old entries will be deleted, 0 to disable # entries to keep per feed, old entries will be deleted, 0 to disable
maxFeedCapacity: 500 maxFeedCapacity: 500
@@ -73,17 +73,17 @@ app:
# cache service to use, possible values are 'noop' and 'redis' # cache service to use, possible values are 'noop' and 'redis'
cache: noop cache: noop
# announcement string displayed on the main page # announcement string displayed on the main page
announcement: announcement:
# user-agent string that will be used by the http client, leave empty for the default one # user-agent string that will be used by the http client, leave empty for the default one
userAgent: userAgent:
# Database connection # Database connection
# ------------------- # -------------------
# for MySQL # for MySQL
# driverClass is com.mysql.jdbc.Driver # driverClass is com.mysql.cj.jdbc.Driver
# url is jdbc:mysql://localhost/commafeed?autoReconnect=true&failOverReadOnly=false&maxReconnects=20&rewriteBatchedStatements=true # url is jdbc:mysql://localhost/commafeed?autoReconnect=true&failOverReadOnly=false&maxReconnects=20&rewriteBatchedStatements=true
# #
# for PostgreSQL # for PostgreSQL
@@ -105,7 +105,7 @@ database:
minSize: 1 minSize: 1
maxSize: 50 maxSize: 50
maxConnectionAge: 30m maxConnectionAge: 30m
server: server:
applicationConnectors: applicationConnectors:
- type: http - type: http
@@ -115,7 +115,7 @@ server:
port: 8084 port: 8084
requestLog: requestLog:
appenders: [ ] appenders: [ ]
logging: logging:
level: ERROR level: ERROR
loggers: loggers:
@@ -131,7 +131,7 @@ logging:
archivedLogFilenamePattern: log/commafeed-%d.log archivedLogFilenamePattern: log/commafeed-%d.log
archivedFileCount: 5 archivedFileCount: 5
timeZone: UTC timeZone: UTC
# Redis pool configuration # Redis pool configuration
# (only used if app.cache is 'redis') # (only used if app.cache is 'redis')
# ----------------------------------- # -----------------------------------
@@ -140,8 +140,7 @@ redis:
port: 6379 port: 6379
# username is only required when using ACLs # username is only required when using ACLs
username: username:
password: password:
timeout: 2000 timeout: 2000
database: 0 database: 0
maxTotal: 500 maxTotal: 500

View File

@@ -82,7 +82,7 @@ app:
# Database connection # Database connection
# ------------------- # -------------------
# for MySQL # for MySQL
# driverClass is com.mysql.jdbc.Driver # driverClass is com.mysql.cj.jdbc.Driver
# url is jdbc:mysql://localhost/commafeed?autoReconnect=true&failOverReadOnly=false&maxReconnects=20&rewriteBatchedStatements=true # url is jdbc:mysql://localhost/commafeed?autoReconnect=true&failOverReadOnly=false&maxReconnects=20&rewriteBatchedStatements=true
# #
# for PostgreSQL # for PostgreSQL