diff options
| author | alex.dunn <[email protected]> | 2022-08-09 07:27:36 -0700 |
|---|---|---|
| committer | alex.dunn <[email protected]> | 2022-08-09 07:27:36 -0700 |
| commit | c7545f44515cf103f8e31e62e1f9826969de03f3 (patch) | |
| tree | a406296f60820a515af95900a023162a5850b444 /upstream-config-templates/zen_config.lua.j2 | |
| parent | Adding upstream configuration template file. (diff) | |
| download | zen-c7545f44515cf103f8e31e62e1f9826969de03f3.tar.xz zen-c7545f44515cf103f8e31e62e1f9826969de03f3.zip | |
Changing directory name
Diffstat (limited to 'upstream-config-templates/zen_config.lua.j2')
| -rw-r--r-- | upstream-config-templates/zen_config.lua.j2 | 38 |
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 |