2020-10-04 11:37:38 +03:00
|
|
|
env: development
|
|
|
|
|
|
|
|
server:
|
2020-12-13 00:07:00 +03:00
|
|
|
listen_ipv4: 127.0.0.1 # leave blank to disable ipv4
|
|
|
|
listen_ipv6: ::1 # leave blank to disable ipv6
|
|
|
|
tls_cert_path: # leave blank to not use https
|
|
|
|
tls_key_path: # leave blank to not use https
|
2020-10-04 11:37:38 +03:00
|
|
|
port: 3000
|
|
|
|
base_path: /
|
|
|
|
|
|
|
|
app:
|
2020-10-16 17:21:13 +03:00
|
|
|
aggregation_time: '02:15' # time at which to run daily aggregation batch jobs
|
2021-02-13 01:06:48 +03:00
|
|
|
inactive_days: 7 # time of previous days within a user must have logged in to be considered active
|
2020-10-04 11:37:38 +03:00
|
|
|
custom_languages:
|
|
|
|
vue: Vue
|
|
|
|
jsx: JSX
|
2021-03-13 21:59:43 +03:00
|
|
|
svelte: Svelte
|
2020-10-04 11:37:38 +03:00
|
|
|
|
|
|
|
db:
|
|
|
|
host: # leave blank when using sqlite3
|
|
|
|
port: # leave blank when using sqlite3
|
|
|
|
user: # leave blank when using sqlite3
|
|
|
|
password: # leave blank when using sqlite3
|
|
|
|
name: wakapi_db.db # database name for mysql / postgres or file path for sqlite (e.g. /tmp/wakapi.db)
|
|
|
|
dialect: sqlite3 # mysql, postgres, sqlite3
|
2021-02-17 23:04:22 +03:00
|
|
|
charset: utf8mb4 # only used for mysql connections
|
2021-01-18 23:34:08 +03:00
|
|
|
max_conn: 2 # maximum number of concurrent connections to maintain
|
|
|
|
ssl: false # whether to use tls for db connection (must be true for cockroachdb) (ignored for mysql and sqlite)
|
2020-10-04 11:37:38 +03:00
|
|
|
|
|
|
|
security:
|
|
|
|
password_salt: # CHANGE !
|
2021-02-13 14:59:59 +03:00
|
|
|
insecure_cookies: false # You need to set this to 'true' when on localhost
|
2021-02-06 12:59:12 +03:00
|
|
|
cookie_max_age: 172800
|
2021-02-12 20:37:30 +03:00
|
|
|
allow_signup: true
|
2021-03-24 00:12:15 +03:00
|
|
|
expose_metrics: false
|
|
|
|
|
|
|
|
sentry:
|
|
|
|
dsn: # leave blank to disable sentry integration
|
|
|
|
enable_tracing: true # whether to use performance monitoring
|
|
|
|
sample_rate: 0.75 # probability of tracing a request
|
|
|
|
sample_rate_heartbeats: 0.1 # probability of tracing a heartbeat request
|