aboutsummaryrefslogtreecommitdiffstats
path: root/Rocket.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Rocket.toml')
-rw-r--r--Rocket.toml23
1 files changed, 23 insertions, 0 deletions
diff --git a/Rocket.toml b/Rocket.toml
new file mode 100644
index 0000000..3c50ddd
--- /dev/null
+++ b/Rocket.toml
@@ -0,0 +1,23 @@
+[development]
+address = "0.0.0.0"
+port = 8000
+#workers = [number of cpus * 2]
+log = "normal"
+#secret_key = [randomly generated at launch]
+limits = { forms = 32768 }
+
+[staging]
+address = "0.0.0.0"
+port = 80
+#workers = [number of cpus * 2]
+log = "normal"
+#secret_key = [randomly generated at launch]
+limits = { forms = 32768 }
+
+[production]
+address = "0.0.0.0"
+port = 80
+#workers = [number of cpus * 2]
+log = "critical"
+#secret_key = [randomly generated at launch]
+limits = { forms = 32768 }