aboutsummaryrefslogtreecommitdiff
path: root/config.yaml
diff options
context:
space:
mode:
authorstuebinm2023-01-22 01:37:20 +0100
committerstuebinm2023-01-22 01:47:31 +0100
commit3d0980811d61a78f265ec06dd5bd4ef2cde1cbdf (patch)
tree00bea044e80ca5eebc730a23edf0b13f0d019091 /config.yaml
parent6c0f21b276ad73f383a80fe00729c6520a6b874a (diff)
oauth2 via uffd
this is unfortunately uffd-specific, since oauth2 is apparently sort of a vague standard. But since it doesn't actually do much it should probably be possible to make it fully configurable & generic if needed.
Diffstat (limited to 'config.yaml')
-rw-r--r--config.yaml10
1 files changed, 9 insertions, 1 deletions
diff --git a/config.yaml b/config.yaml
index 49063e0..123031d 100644
--- a/config.yaml
+++ b/config.yaml
@@ -1,9 +1,17 @@
-dbString: ""
+
+dbstring: "dbname=tracktrain"
gtfs: "./gtfs.zip"
zoneinfoPath: "/etc/zoneinfo/"
+# generic warp server options (see warp docs)
warp:
port: 9000
+# only oauth2 with uffd supported (for now)
+login:
+ enable: true
+ clientname: tracktrain
+ clientsecret: secret
+ url: http://localhost:8080