aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParker <contact@pkrm.dev>2025-04-03 22:33:50 -0500
committerParker <contact@pkrm.dev>2025-04-03 22:33:50 -0500
commit06d903b4f6dfd0be61122cc54639e284aa788014 (patch)
tree0b8a2180641cdc6aa848ca60fcf0d9aea079848e
parent7ac5a8c0169d67f26db6a14f6a7c10fb8ed570a3 (diff)
Set defaults for config options
-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"},
},