From 5599e7ae7b1db95bca4e6fa4b3df72ce2135a52f Mon Sep 17 00:00:00 2001 From: Christoph Hagen Date: Thu, 24 Nov 2022 21:39:35 +0100 Subject: [PATCH] Add example config --- .gitignore | 3 ++- Resources/config_example.json | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 Resources/config_example.json diff --git a/.gitignore b/.gitignore index 28408e9..d945248 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,5 @@ db.sqlite .swiftpm Package.resolved -Resources/ +Resources/db.sqlite +Resources/config.json diff --git a/Resources/config_example.json b/Resources/config_example.json new file mode 100644 index 0000000..894ff7a --- /dev/null +++ b/Resources/config_example.json @@ -0,0 +1,11 @@ +{ + "serverPort": 8000, + "production": false, + "mail": { + "serverDomain": "https://example.com/schafkopf", + "emailHostname": "example.com", + "email": "schafkopf@example.com", + "password": "some-secret-string", + "tokenExpiryDuration": 15, + } +}