2019-02-16 15:00:20 +01:00
|
|
|
server:
|
|
|
|
port: __PORT__ # the port the HTTP server will listen on
|
2019-03-10 13:50:15 +01:00
|
|
|
listenaddr: 127.0.0.1 # only listen for connections from local reverse proxy
|
2019-02-16 15:00:20 +01:00
|
|
|
|
|
|
|
ssl:
|
|
|
|
enabled: false # if https should be enabled
|
|
|
|
redirecttohttps: false # redirect to https if site is accessed by http
|
|
|
|
|
|
|
|
stream:
|
|
|
|
allowedorigins: # allowed origins for websocket connections (same origin is always allowed)
|
|
|
|
- ".+.__DOMAIN__"
|
|
|
|
|
|
|
|
database: # for database see (configure database section)
|
|
|
|
dialect: mysql
|
2022-01-18 00:18:21 +01:00
|
|
|
connection: __APP__:__DBPASS__@unix(/var/run/mysqld/mysqld.sock)/__DBNAME__?charset=utf8&parseTime=True&loc=Local
|
2019-02-16 15:00:20 +01:00
|
|
|
|
|
|
|
defaultuser: # on database creation, gotify creates an admin user
|
|
|
|
name: __ADMINUSER__ # the username of the default user
|
|
|
|
pass: __ADMINPASS__ # the password of the default user
|
2020-05-31 23:40:54 +02:00
|
|
|
passstrength: 12 # the bcrypt password strength (higher = better but also slower)
|
2019-02-16 15:00:20 +01:00
|
|
|
uploadedimagesdir: data/images # the directory for storing uploaded images
|
|
|
|
pluginsdir: data/plugins # the directory where plugin resides
|