2017-08-26 14:14:45 +00:00
|
|
|
# Server configuration
|
|
|
|
[server]
|
2021-02-22 18:28:35 +00:00
|
|
|
# Port the server will listen on
|
2017-08-26 14:14:45 +00:00
|
|
|
port=8282
|
2021-02-22 18:28:35 +00:00
|
|
|
# Hostname the server will listen on
|
|
|
|
host="localhost"
|
2017-08-26 14:14:45 +00:00
|
|
|
# Session key
|
|
|
|
session_key="Session"
|
2017-08-27 11:48:47 +00:00
|
|
|
# Session secret (keep this a secret)
|
2017-08-26 14:14:45 +00:00
|
|
|
session_secret="hackmysessions"
|
|
|
|
# Number of worker processes (0 to use all CPU cores)
|
|
|
|
workers=1
|
|
|
|
# Domain of this application
|
2017-08-27 11:48:47 +00:00
|
|
|
# Used for the links in emails
|
2017-08-26 14:14:45 +00:00
|
|
|
domain="http://localhost:8282"
|
|
|
|
|
|
|
|
# Database
|
|
|
|
# Available database clients: mysql / postgresql(pg) / sqlite3 / oracle / mssql
|
|
|
|
[database]
|
|
|
|
client="mysql"
|
|
|
|
|
|
|
|
# Here you will define database connection related to the client
|
|
|
|
[database.connection]
|
|
|
|
user="root"
|
|
|
|
host="localhost"
|
|
|
|
password=""
|
|
|
|
database="icynet"
|
|
|
|
# More information on database configuration can be found here:
|
|
|
|
# http://knexjs.org/#Installation-client
|
|
|
|
|
|
|
|
# OAuth2 related configuration
|
|
|
|
[oauth2]
|
|
|
|
# Byte length of a token
|
|
|
|
token_length=16
|
|
|
|
# 1 week of token life
|
|
|
|
access_token_life=604800
|
|
|
|
# Authorization code life
|
|
|
|
code_life=3600
|
|
|
|
# Whether or not an OAuth2 client authorization decision will be saved
|
|
|
|
# which means that the user will not be asked for authorization again
|
|
|
|
# Decisions can be revoked from the user settings page
|
|
|
|
save_decision=true
|
|
|
|
|
|
|
|
# Redis is currently used for storing sessions
|
|
|
|
[redis]
|
|
|
|
port=6379
|
|
|
|
|
2019-08-08 12:33:58 +00:00
|
|
|
[external]
|
|
|
|
# Set to true if you allow registrations from the following services
|
|
|
|
registrations=false
|
2017-08-26 14:14:45 +00:00
|
|
|
|
2019-08-08 12:33:58 +00:00
|
|
|
# Uncomment if you want to be using Twitter authentication
|
|
|
|
[external.twitter]
|
|
|
|
# api=""
|
|
|
|
# api_secret=""
|
2017-08-26 14:14:45 +00:00
|
|
|
|
2019-08-08 12:33:58 +00:00
|
|
|
# Uncomment if you want to be using Facebook authentication
|
|
|
|
[external.facebook]
|
|
|
|
# client=""
|
2017-08-26 14:14:45 +00:00
|
|
|
|
2019-08-08 12:33:58 +00:00
|
|
|
# Uncomment if you want to be using Discord authentication
|
|
|
|
[external.discord]
|
|
|
|
# api=""
|
|
|
|
# api_secret=""
|
|
|
|
|
|
|
|
[external.google]
|
|
|
|
# api=""
|
|
|
|
# api_secret=""
|
2017-10-13 16:18:17 +00:00
|
|
|
|
2017-08-26 14:14:45 +00:00
|
|
|
# reCAPTCHA configuration
|
|
|
|
[security]
|
|
|
|
[security.recaptcha]
|
|
|
|
# site_key=""
|
|
|
|
# secret_key=""
|
|
|
|
|
|
|
|
# Email SMTP transport configuration
|
|
|
|
[email]
|
|
|
|
enabled=false
|
|
|
|
admin="icynet@example.com"
|
|
|
|
[email.transport]
|
|
|
|
host="mail.example.com"
|
|
|
|
port=587
|
|
|
|
secure=false
|
|
|
|
[email.transport.auth]
|
|
|
|
user=""
|
|
|
|
pass=""
|
|
|
|
[email.transport.tls]
|
|
|
|
rejectUnauthorized=false
|
2017-09-08 15:30:00 +00:00
|
|
|
|
|
|
|
# Application log file location
|
|
|
|
[logger]
|
|
|
|
write=true
|
2018-08-15 17:33:20 +00:00
|
|
|
file="./icynet.log"
|
2018-01-27 10:19:06 +00:00
|
|
|
|
|
|
|
# Matomo tracking
|
|
|
|
#[matomo]
|
|
|
|
# site_id=
|
|
|
|
# site_domain="icynet.eu"
|
|
|
|
# track_url="//analytics.icynet.eu/"
|