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
2022-07-29 00:43:33 +02:00

22 lines
1,000 B
YAML

server:
port: __PORT__ # the port the HTTP server will listen on
listenaddr: 127.0.0.1 # only listen for connections from local reverse proxy
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
connection: __DB_USER__:__DB_PWD__@unix(/var/run/mysqld/mysqld.sock)/__DB_NAME__?charset=utf8&parseTime=True&loc=Local
defaultuser: # on database creation, gotify creates an admin user
name: __ADMIN__ # the username of the default user
pass: __PASSWORD__ # the password of the default user
passstrength: 12 # the bcrypt password strength (higher = better but also slower)
uploadedimagesdir: data/images # the directory for storing uploaded images
pluginsdir: data/plugins # the directory where plugin resides