2015-02-22 02:09:22 +00:00
|
|
|
pyx.cookie_domain=.localhost
|
|
|
|
pyx.max_users=100
|
|
|
|
pyx.max_games=25
|
|
|
|
pyx.include_inactive_cardsets=true
|
2015-02-22 03:38:23 +00:00
|
|
|
pyx.broadcast_connects_and_disconnects=true
|
2015-02-22 02:09:22 +00:00
|
|
|
|
2015-02-16 01:29:45 +00:00
|
|
|
# for production use, use postgres
|
|
|
|
#hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
|
|
|
|
#hibernate.driver_class=org.postgresql.Driver
|
|
|
|
#hibernate.url=jdbc:postgresql://localhost/pyx
|
|
|
|
|
|
|
|
# for local use, you can also use sqlite
|
|
|
|
hibernate.dialect=net.socialgamer.cah.hibernate.SqliteDialect
|
|
|
|
hibernate.driver_class=org.sqlite.JDBC
|
|
|
|
hibernate.url=jdbc:sqlite:pyx.sqlite
|
|
|
|
|
|
|
|
# these likely need specified even with sqlite, even though they don't matter
|
2015-02-14 04:03:46 +00:00
|
|
|
hibernate.username=pyx
|
|
|
|
hibernate.password=CorrectHorseBatteryStaple
|
2015-02-16 01:29:45 +00:00
|
|
|
|
|
|
|
# debugging information
|
|
|
|
hibernate.sql.show=false
|
|
|
|
hibernate.sql.format=false
|
2015-02-28 19:58:47 +00:00
|
|
|
|
|
|
|
# second-level hibernate cache.
|
|
|
|
# vastly reduces database load at expense of data potentially being stale.
|
|
|
|
# use an in-memory cache provider. this is not suitable for long-term use, however I am using it for
|
|
|
|
# my servers for the time being -- better than nothing
|
|
|
|
#hibernate.cache.use_second_level_cache=true
|
|
|
|
#hibernate.cache.use_query_cache=true
|
|
|
|
#hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider
|
|
|
|
|
|
|
|
# to turn it off, use these settings instead. you will hit the db a lot more often.
|
|
|
|
hibernate.cache.use_second_level_cache=false
|
|
|
|
hibernate.cache.use_query_cache=false
|
|
|
|
hibernate.cache.provider_class=org.hibernate.cache.NoCacheProvider
|
2017-02-21 05:35:44 +00:00
|
|
|
|
|
|
|
# Metrics implementation.
|
|
|
|
pyx.metrics.impl=net.socialgamer.cah.metrics.NoOpMetrics
|
|
|
|
|
2017-02-27 06:27:56 +00:00
|
|
|
# for kafka metrics
|
|
|
|
kafka.host=kafka-host:9092
|
|
|
|
kafka.topic=pyx-metrics
|
2017-03-04 21:55:41 +00:00
|
|
|
# if this is false, the rest don't matter
|
|
|
|
kafka.ssl=false
|
|
|
|
kafka.truststore.path=
|
|
|
|
kafka.truststore.password=
|
|
|
|
# if this is false, the rest don't matter
|
2017-03-04 23:43:00 +00:00
|
|
|
kafka.ssl.usekey=false
|
2017-03-04 21:55:41 +00:00
|
|
|
kafka.keystore.path=
|
|
|
|
kafka.keystore.password=
|
|
|
|
kafka.key.password=
|
2017-03-04 23:43:00 +00:00
|
|
|
# only SCRAM-SHA-512 supported; if this is false, the rest don't matter
|
|
|
|
# must be used with ssl, does not need client key
|
|
|
|
kafka.sasl=false
|
|
|
|
kafka.sasl.username=
|
|
|
|
kafka.sasl.password=
|
|
|
|
|
2017-02-27 06:27:56 +00:00
|
|
|
|
|
|
|
|
2017-02-21 05:35:44 +00:00
|
|
|
# GeoIP database for analytics. If unset, will not be used.
|
|
|
|
# Only used if the above is not NoOpMetrics.
|
|
|
|
# See README.md for instructions.
|
|
|
|
geoip.db=
|