summaryrefslogtreecommitdiffstats
path: root/server/config
diff options
context:
space:
mode:
authorFelix <me@nutomic.com>2020-03-26 15:23:15 +0100
committerFelix <me@nutomic.com>2020-03-29 00:13:13 +0100
commit76bf71162ef187d2d363b29faa40d24fecdfba3b (patch)
tree3782f744f8bf81342f7863b4d0d03e029c0270ea /server/config
parent807f33f74823b427bbac5e48caf29e805ce4e656 (diff)
Automatic instance setup based on config variables (fixes #404)
Diffstat (limited to 'server/config')
-rw-r--r--server/config/defaults.hjson11
1 files changed, 11 insertions, 0 deletions
diff --git a/server/config/defaults.hjson b/server/config/defaults.hjson
index 2b37f3bb..97b9429c 100644
--- a/server/config/defaults.hjson
+++ b/server/config/defaults.hjson
@@ -1,4 +1,15 @@
{
+# # optional: parameters for automatic configuration of new instance (only used at first start)
+# setup: {
+# # username for the admin user
+# admin_username: ""
+# # password for the admin user
+# admin_password: ""
+# # optional: email for the admin user (can be omitted and set later through the website)
+# admin_email: ""
+# # name of the site (can be changed later)
+# site_name: ""
+# }
# settings related to the postgresql database
database: {
# username to connect to postgres