Files
Athou_commafeed/config.yml.example

101 lines
2.7 KiB
Plaintext
Raw Normal View History

2014-08-10 21:47:43 +02:00
# CommaFeed settings
# ------------------
app:
2014-08-10 21:47:43 +02:00
# url used to access commafeed
2014-08-08 21:57:16 +02:00
publicUrl: http://localhost:8082/
2014-08-10 21:47:43 +02:00
# wether to allow user registrations
allowRegistrations: false
2014-08-10 21:47:43 +02:00
# put your google analytics tracking code here
googleAnalyticsTrackingCode:
2014-08-10 21:47:43 +02:00
# number of http threads
backgroundThreads: 3
2014-08-10 21:47:43 +02:00
# number of database updating threads
databaseUpdateThreads: 1
2014-08-10 21:47:43 +02:00
# settings for sending emails (password recovery)
smtpHost:
smtpPort:
smtpTls: false
smtpUserName:
smtpPassword:
2014-08-10 21:47:43 +02:00
# wether this commafeed instance has a lot of feeds to refresh
# leave this to false in almost all cases
heavyLoad: false
2014-08-10 21:47:43 +02:00
# minimum amount of time commafeed will wait before refreshing the same feed
refreshIntervalMinutes: 5
# wether to enable pubsub
# probably not needed if refreshIntervalMinutes is low
pubsubhubbub: false
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
imageProxyEnabled: false
2014-08-10 21:47:43 +02:00
# database query timeout (in milliseconds), 0 to disable
queryTimeout: 0
2014-08-10 21:47:43 +02:00
# time to keep unread statuses (in days), 0 to disable
keepStatusDays: 0
2014-08-10 21:47:43 +02:00
# cache service to use, possible values are 'noop' and 'redis'
2014-08-09 13:26:03 +02:00
cache: noop
2014-08-10 21:47:43 +02:00
# announcement string displayed on the main page
announcement:
2014-08-10 21:47:43 +02:00
# Database connection
# -------------------
# for MySQL
# driverClass is com.mysql.jdbc.Driver
# url is jdbc:mysql://localhost/commafeed?autoReconnect=true&failOverReadOnly=false&maxReconnects=20&rewriteBatchedStatements=true
#
# 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>
database:
driverClass: org.h2.Driver
2014-08-10 21:47:43 +02:00
url: jdbc:h2:./target/example
user: sa
password: sa
properties:
charSet: UTF-8
maxWaitForConnection: 1s
2014-08-10 21:47:43 +02:00
validationQuery: "/* CommaFeed Health Check */ SELECT 1"
minSize: 1
2014-08-10 21:47:43 +02:00
maxSize: 50
checkConnectionWhileIdle: true
server:
applicationConnectors:
- type: http
2014-08-09 19:35:05 +02:00
port: 8082
2014-08-08 21:57:16 +02:00
adminConnectors:
- type: http
port: 8084
logging:
2014-08-10 21:47:43 +02:00
level: WARN
loggers:
2014-08-09 19:35:05 +02:00
com.commafeed: INFO
2014-08-10 21:47:43 +02:00
liquibase: INFO
io.dropwizard.server.ServerFactory: INFO
appenders:
2014-08-09 19:35:05 +02:00
- type: console
- type: file
currentLogFilename: log/commafeed.log
threshold: ALL
archive: true
archivedLogFilenamePattern: log/commafeed-%d.log
archivedFileCount: 5
timeZone: UTC