From 15910ae7a23fb6d5c1cb235997bded8cf5e5c884 Mon Sep 17 00:00:00 2001 From: Luclu7 Date: Fri, 25 Dec 2020 03:16:09 +0100 Subject: [PATCH] updated README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c717bea..250eef1 100644 --- a/README.md +++ b/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