summaryrefslogtreecommitdiff
path: root/Rocket.toml
diff options
context:
space:
mode:
authorDennis Kobert <dennis@kobert.dev>2020-02-09 15:06:15 +0000
committerDennis Kobert <dennis@kobert.dev>2020-02-09 15:06:15 +0000
commitafbc38858cac276414d4cb286e69b061548923f8 (patch)
tree942a67aae0c90d5e08cf8eb093cfde896e22a2e7 /Rocket.toml
parent1ba3be90a6ef1d196c6ad45df79ee22608be0b04 (diff)
Testing
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 }