commit 20f598817466e40288b1b0424d6a0090137a4fea
parent fc513413eadc67db87486775184b1e26bd5339c3
Author: Daniel GarcĂa <dani-garcia@users.noreply.github.com>
Date: Fri, 4 Jun 2021 20:03:17 +0200
Merge pull request #1736 from jjlin/rocket-env-docs
Clarify Rocket env var defaults
Diffstat:
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/.env.template b/.env.template
@@ -258,10 +258,11 @@
## In any case, if a code has been used it can not be used again, also codes which predates it will be invalid.
# AUTHENTICATOR_DISABLE_TIME_DRIFT=false
-## Rocket specific settings, check Rocket documentation to learn more
-# ROCKET_ENV=staging
-# ROCKET_ADDRESS=0.0.0.0 # Enable this to test mobile app
-# ROCKET_PORT=8000
+## Rocket specific settings
+## See https://rocket.rs/v0.4/guide/configuration/ for more details.
+# ROCKET_ADDRESS=0.0.0.0
+# ROCKET_PORT=80 # Defaults to 80 in the Docker images, or 8000 otherwise.
+# ROCKET_WORKERS=10
# ROCKET_TLS={certs="/path/to/certs.pem",key="/path/to/key.pem"}
## Mail specific settings, set SMTP_HOST and SMTP_FROM to enable the mail service.