2014-08-10 21:47:43 +02:00
|
|
|
# CommaFeed settings
|
|
|
|
|
# ------------------
|
2014-08-09 19:35:05 +02:00
|
|
|
app:
|
2014-08-10 21:47:43 +02:00
|
|
|
# url used to access commafeed
|
2014-08-09 19:35:05 +02:00
|
|
|
publicUrl: http://localhost:8082/
|
2023-06-13 10:47:39 +02:00
|
|
|
|
|
|
|
|
# whether to expose a robots.txt file that disallows web crawlers and search engine indexers
|
|
|
|
|
hideFromWebCrawlers: true
|
2014-08-10 21:47:43 +02:00
|
|
|
|
2023-05-31 07:36:50 +02:00
|
|
|
# whether to allow user registrations
|
2014-08-09 19:35:05 +02:00
|
|
|
allowRegistrations: true
|
2023-05-31 07:31:40 +02:00
|
|
|
|
|
|
|
|
# whether to enable strict password validation (1 uppercase char, 1 lowercase char, 1 digit, 1 special char)
|
|
|
|
|
strictPasswordPolicy: true
|
2014-08-10 21:47:43 +02:00
|
|
|
|
2014-12-04 10:52:41 +01:00
|
|
|
# create a demo account the first time the app starts
|
2022-08-13 18:00:07 +02:00
|
|
|
createDemoAccount: true
|
2014-12-04 10:52:41 +01:00
|
|
|
|
2014-08-10 21:47:43 +02:00
|
|
|
# put your google analytics tracking code here
|
2014-08-09 19:35:05 +02:00
|
|
|
googleAnalyticsTrackingCode:
|
2014-08-10 21:47:43 +02:00
|
|
|
|
2015-06-04 12:28:20 +02:00
|
|
|
# put your google server key (used for youtube favicon fetching)
|
|
|
|
|
googleAuthKey:
|
|
|
|
|
|
2014-08-10 21:47:43 +02:00
|
|
|
# number of http threads
|
2014-08-09 19:35:05 +02:00
|
|
|
backgroundThreads: 3
|
2014-08-10 21:47:43 +02:00
|
|
|
|
|
|
|
|
# number of database updating threads
|
2014-08-09 19:35:05 +02:00
|
|
|
databaseUpdateThreads: 1
|
2023-07-12 15:20:36 +02:00
|
|
|
|
|
|
|
|
# rows to delete per query while cleaning up old entries
|
|
|
|
|
databaseCleanupBatchSize: 100
|
|
|
|
|
|
2014-08-10 21:47:43 +02:00
|
|
|
# settings for sending emails (password recovery)
|
2014-08-11 14:55:41 +02:00
|
|
|
smtpHost: localhost
|
|
|
|
|
smtpPort: 25
|
2014-08-09 19:35:05 +02:00
|
|
|
smtpTls: false
|
2014-08-11 14:55:41 +02:00
|
|
|
smtpUserName: user
|
|
|
|
|
smtpPassword: pass
|
2023-12-21 22:15:39 +01:00
|
|
|
smtpFromAddress:
|
2017-07-05 21:56:00 -05:00
|
|
|
|
|
|
|
|
# Graphite Metric settings
|
|
|
|
|
# Allows those who use Graphite to have CommaFeed send metrics for graphing (time in seconds)
|
|
|
|
|
graphiteEnabled: false
|
|
|
|
|
graphitePrefix: "test.commafeed"
|
|
|
|
|
graphiteHost: "localhost"
|
|
|
|
|
graphitePort: 2003
|
|
|
|
|
graphiteInterval: 60
|
2014-08-10 21:47:43 +02:00
|
|
|
|
2023-05-31 07:36:50 +02:00
|
|
|
# whether this commafeed instance has a lot of feeds to refresh
|
2014-08-10 21:47:43 +02:00
|
|
|
# leave this to false in almost all cases
|
2014-08-09 19:35:05 +02:00
|
|
|
heavyLoad: false
|
2014-08-10 21:47:43 +02:00
|
|
|
|
|
|
|
|
# minimum amount of time commafeed will wait before refreshing the same feed
|
|
|
|
|
refreshIntervalMinutes: 5
|
2023-12-18 08:39:22 +01:00
|
|
|
|
2014-08-10 21:47:43 +02:00
|
|
|
# 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
|
2022-08-20 23:02:55 +02:00
|
|
|
imageProxyEnabled: true
|
2014-08-10 21:47:43 +02:00
|
|
|
|
|
|
|
|
# database query timeout (in milliseconds), 0 to disable
|
2014-08-09 19:35:05 +02:00
|
|
|
queryTimeout: 0
|
2014-08-10 21:47:43 +02:00
|
|
|
|
|
|
|
|
# time to keep unread statuses (in days), 0 to disable
|
2014-08-09 19:35:05 +02:00
|
|
|
keepStatusDays: 0
|
2014-08-10 21:47:43 +02:00
|
|
|
|
2014-12-04 10:22:57 +01:00
|
|
|
# entries to keep per feed, old entries will be deleted, 0 to disable
|
|
|
|
|
maxFeedCapacity: 500
|
2023-05-30 08:53:26 +02:00
|
|
|
|
2024-01-07 20:43:19 +01:00
|
|
|
# entries older than this will be deleted, 0 to disable
|
|
|
|
|
maxEntriesAgeDays: 365
|
|
|
|
|
|
2023-05-30 08:53:26 +02:00
|
|
|
# limit the number of feeds a user can subscribe to, 0 to disable
|
|
|
|
|
maxFeedsPerUser: 0
|
|
|
|
|
|
2014-08-10 21:47:43 +02:00
|
|
|
# cache service to use, possible values are 'noop' and 'redis'
|
2014-08-09 19:35:05 +02:00
|
|
|
cache: noop
|
2014-08-10 21:47:43 +02:00
|
|
|
|
|
|
|
|
# announcement string displayed on the main page
|
2014-08-09 19:35:05 +02:00
|
|
|
announcement:
|
2014-08-10 21:47:43 +02:00
|
|
|
|
2018-07-31 15:21:45 +02:00
|
|
|
# user-agent string that will be used by the http client, leave empty for the default one
|
|
|
|
|
userAgent:
|
2023-04-28 09:34:16 +02:00
|
|
|
|
2023-12-21 20:27:30 +01:00
|
|
|
# enable websocket connection so the server can notify the web client that there are new entries for your feeds
|
|
|
|
|
websocketEnabled: true
|
|
|
|
|
|
|
|
|
|
# interval at which the client will send a ping message on the websocket to keep the connection alive
|
|
|
|
|
websocketPingInterval: 15m
|
|
|
|
|
|
|
|
|
|
# if websocket is disabled or the connection is lost, the client will reload the feed tree at this interval
|
|
|
|
|
treeReloadInterval: 30s
|
|
|
|
|
|
2014-08-10 21:47:43 +02:00
|
|
|
# Database connection
|
|
|
|
|
# -------------------
|
2023-07-12 15:03:30 +02:00
|
|
|
# for MariaDB
|
|
|
|
|
# driverClass is org.mariadb.jdbc.Driver
|
2024-02-10 12:42:22 +01:00
|
|
|
# url is jdbc:mariadb://localhost/commafeed?autoReconnect=true&failOverReadOnly=false&maxReconnects=20&rewriteBatchedStatements=true&timezone=UTC
|
2023-07-12 15:03:30 +02:00
|
|
|
#
|
2014-08-10 21:47:43 +02:00
|
|
|
# for MySQL
|
2023-07-09 14:31:46 +02:00
|
|
|
# driverClass is com.mysql.cj.jdbc.Driver
|
2024-02-10 12:42:22 +01:00
|
|
|
# url is jdbc:mysql://localhost/commafeed?autoReconnect=true&failOverReadOnly=false&maxReconnects=20&rewriteBatchedStatements=true&timezone=UTC
|
2014-08-10 21:47:43 +02:00
|
|
|
#
|
|
|
|
|
# for PostgreSQL
|
|
|
|
|
# driverClass is org.postgresql.Driver
|
|
|
|
|
# url is jdbc:postgresql://localhost:5432/commafeed
|
|
|
|
|
#
|
|
|
|
|
# for Microsoft SQL Server
|
|
|
|
|
# driverClass is net.sourceforge.jtds.jdbc.Driver
|
|
|
|
|
# url is jdbc:jtds:sqlserver://localhost:1433/commafeed;instance=<instanceName, remove if not needed>
|
2014-08-09 19:35:05 +02:00
|
|
|
|
|
|
|
|
database:
|
|
|
|
|
driverClass: org.h2.Driver
|
2023-06-04 07:45:01 +02:00
|
|
|
url: jdbc:h2:./target/commafeed
|
2014-08-09 19:35:05 +02:00
|
|
|
user: sa
|
|
|
|
|
password: sa
|
|
|
|
|
properties:
|
|
|
|
|
charSet: UTF-8
|
2015-02-17 16:51:37 +01:00
|
|
|
validationQuery: "/* CommaFeed Health Check */ SELECT 1"
|
2023-04-28 09:34:16 +02:00
|
|
|
|
2014-08-09 19:35:05 +02:00
|
|
|
server:
|
|
|
|
|
applicationConnectors:
|
|
|
|
|
- type: http
|
|
|
|
|
port: 8083
|
|
|
|
|
adminConnectors:
|
|
|
|
|
- type: http
|
|
|
|
|
port: 8084
|
2023-04-28 09:34:16 +02:00
|
|
|
|
2014-08-09 19:35:05 +02:00
|
|
|
logging:
|
2014-08-10 17:21:22 +02:00
|
|
|
level: INFO
|
2014-08-09 19:35:05 +02:00
|
|
|
loggers:
|
|
|
|
|
com.commafeed: DEBUG
|
|
|
|
|
liquibase: INFO
|
2014-12-04 09:12:08 +01:00
|
|
|
org.hibernate.SQL: INFO # or ALL for sql debugging
|
2014-08-10 21:52:46 +02:00
|
|
|
org.hibernate.engine.internal.StatisticalLoggingSessionEventListener: WARN
|
2014-08-09 19:35:05 +02:00
|
|
|
appenders:
|
2014-08-10 21:47:43 +02:00
|
|
|
- type: console
|
|
|
|
|
- type: file
|
|
|
|
|
currentLogFilename: log/commafeed.log
|
|
|
|
|
threshold: ALL
|
|
|
|
|
archive: true
|
|
|
|
|
archivedLogFilenamePattern: log/commafeed-%d.log
|
|
|
|
|
archivedFileCount: 5
|
2014-09-22 09:51:55 +02:00
|
|
|
timeZone: UTC
|
2023-04-28 09:34:16 +02:00
|
|
|
|
2014-09-22 09:51:55 +02:00
|
|
|
# Redis pool configuration
|
|
|
|
|
# (only used if app.cache is 'redis')
|
|
|
|
|
# -----------------------------------
|
|
|
|
|
redis:
|
|
|
|
|
host: localhost
|
|
|
|
|
port: 6379
|
2023-05-04 08:48:03 +02:00
|
|
|
# username is only required when using ACLs
|
|
|
|
|
username:
|
2023-04-28 09:34:16 +02:00
|
|
|
password:
|
2014-09-22 09:51:55 +02:00
|
|
|
timeout: 2000
|
|
|
|
|
database: 0
|
|
|
|
|
maxTotal: 500
|
|
|
|
|
|