aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/config.py b/config.py
index 509ec43..1c44585 100644
--- a/config.py
+++ b/config.py
@@ -57,8 +57,8 @@ schema = {
"type": "object",
"properties": {
"name": {"type": "string", "default": "disarchive"},
- "host": {"type": "string"},
- "port": {"type": "integer"},
+ "host": {"type": "string", "default": "localhost"},
+ "port": {"type": "integer", "default": 3306},
"user": {"type": "string"},
"password": {"type": "string"},
},
@@ -74,8 +74,8 @@ schema = {
"type": "object",
"properties": {
"name": {"type": "string", "default": "disarchive"},
- "host": {"type": "string"},
- "port": {"type": "integer"},
+ "host": {"type": "string", "default": "localhost"},
+ "port": {"type": "integer", "default": 5432},
"user": {"type": "string"},
"password": {"type": "string"},
},