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