eeprom/config.example.ini

28 lines
771 B
INI

[PDO]
dsn = https://www.php.net/manual/en/ref.pdo-mysql.connection.php
username = mariadb username
password = mariadb password
[Database]
dsn = "mariadb://user:password@:unix:/eeprom?socket=/var/run/mysqld/mysqld.sock&charset=utf8mb4&init=SET SESSION time_zone = '+00:00', sql_mode = 'STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'"
[Auth]
; Must be implementations of \EEPROM\Auth\AuthInterface
clients[] = \EEPROM\Auth\MisuzuAuth
clients[] = \EEPROM\Auth\SockChatAuth
[Misuzu]
config = /path/to/misuzu/config.ini
[Nabucco]
secret = secret key
[Uploads]
short_domain = i.eeprom.domain
[CORS]
; List of allowed remote domains
origins[] = flashii.net
origins[] = chat.flashii.net
origins[] = sockchat.flashii.net