updated README.md
This commit is contained in:
parent
44f07ca2a2
commit
15910ae7a2
1 changed files with 6 additions and 6 deletions
12
README.md
12
README.md
|
@ -38,24 +38,24 @@ You can show theses informations using ``./sacrebleu-dns -h``.
|
|||
Variables names are case sensitives.
|
||||
|Variable name|Type|Example|Informations|
|
||||
|--|--|--|--|
|
||||
| AppMode | string|``"production"``|Anything different than ``production`` will show debug messages
|
||||
| app_mode | string|``"production"``|Anything different than ``production`` will show debug messages
|
||||
| App | Section |
|
||||
|IP|string|``":"``|IP address on which the DNS server must listen. Blank to listen on all IPs
|
||||
|Port|int|``5353``|Port on which the DNS server must listen
|
||||
|Logfile|bool|``true``|Enable or disable file logs.
|
||||
|Database|Section|
|
||||
|IP|string|``"127.0.0.1"``|SQL Database IP
|
||||
|Type|string|``"postgresql"``|SQL Database type. ``"postgresql"`` or ``"mysql"`` (anything different than ``"postgresql"`` will rollback to ``"mysql"``)
|
||||
|Host|string|``"127.0.0.1"`` ``"/var/run/postgres"``|Can be either an IP or a path to a socket for Postgres
|
||||
|Username|string|``"sacrebleu"``|SQL Database Username
|
||||
|Password|string|``"superSecretPassword"``|SQL Database Password
|
||||
|Password|string|``"superSecretPassword"``|SQL Database Password (optional)
|
||||
|Port|string|``"5432"``|SQL Database port (``"5432"`` for postgres or ``"3306"`` for MySQL by default)
|
||||
|Db|string|``"sacrebleudatabase"``|SQL Database Name
|
||||
|Type|string|``"postgresql"``|SQL Database type. ``"postgresql"`` or ``"mysql"`` (anything different than ``"postgresql"`` will rollback to ``"mysql"``
|
||||
|Redis|Section
|
||||
|IP|string|``"127.0.0.1"``|Redis Database IP
|
||||
|Password|string|``""``|Redis Database Password
|
||||
|Port|int|``6379``|Redis Database port
|
||||
|Db|int|``0``|Redis Database ID
|
||||
|Ttl|int|``10``|Redis Time To Live (in seconds)
|
||||
|DB|int|``0``|Redis Database ID
|
||||
|TTL|int|``10``|Redis Time To Live (in seconds)
|
||||
|
||||
## What is working
|
||||
- Read records (stricts & wildcard) from MySQL
|
||||
|
|
Loading…
Reference in a new issue