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,016 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-07-29 00:43:33 +02:00
connection: __DB_USER__:__DB_PWD__@unix(/var/run/mysqld/mysqld.sock)/__DB_NAME__?charset=utf8&parseTime=True&loc=Local
2019-02-16 15:00:20 +01:00
defaultuser: # on database creation, gotify creates an admin user
2022-07-29 00:43:33 +02:00
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)
2023-08-16 18:24:39 +02:00
uploadedimagesdir: __DATA_DIR__/images # the directory for storing uploaded images
pluginsdir: __DATA_DIR__/plugins # the directory where plugin resides