aboutsummaryrefslogtreecommitdiff
path: root/upstream-config-templates/zen_config.lua.j2
diff options
context:
space:
mode:
Diffstat (limited to 'upstream-config-templates/zen_config.lua.j2')
-rw-r--r--upstream-config-templates/zen_config.lua.j238
1 files changed, 38 insertions, 0 deletions
diff --git a/upstream-config-templates/zen_config.lua.j2 b/upstream-config-templates/zen_config.lua.j2
new file mode 100644
index 000000000..2fe7a18c7
--- /dev/null
+++ b/upstream-config-templates/zen_config.lua.j2
@@ -0,0 +1,38 @@
+-- Zen Store Lua config
+
+server = {
+ datadir = "d:\\ZenCacheShared",
+ abslog = "d:\\local.log",
+ debug = false,
+}
+
+network = {
+ httpserverclass = "httpsys", -- httpsys|asio
+ port = 1337,
+ meshenabled = false
+}
+
+gc = {
+ intervalseconds = 86400,
+ cache = {
+ maxdurationseconds = 864000,
+ }
+}
+
+cache = {
+ enable = true,
+ upstream = {
+ enable = true,
+ upstreamthreadcount = 4,
+ policy = "readwrite", -- readonly|writeonly|disabled
+ jupiter = {
+ name = "DefaultJupiterInstance",
+ url = "{{upstream_url}}",
+ oauthprovider = "{{upstream_auth_server}}",
+ oauthclientid = "{{upstream_client_id}}",
+ oauthclientsecret = "{{upstream_auth_token}}",
+ namespace = "ue.ddc",
+ ddcnamespace = "ue.ddc",
+ }
+ }
+} \ No newline at end of file