1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gotify_ynh.git synced 2024-09-03 20:36:26 +02:00
gotify_ynh/conf/config.yml

23 lines
1,000 B
YAML
Raw Normal View History

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
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