From 40f5dfe9163566afcdeb2bf873c508b6b98ce201 Mon Sep 17 00:00:00 2001 From: "Renato \"Lond\" Cerqueira" Date: Thu, 13 Feb 2025 16:27:55 +0100 Subject: [PATCH] Add missing variables to the template --- .env.template | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/.env.template b/.env.template index 9e263dc..8788a19 100644 --- a/.env.template +++ b/.env.template @@ -1,4 +1,11 @@ APP_ENV= + +# Can be enabled so that HTTPS is expected locally. +LOCAL_HTTPS= + +# The domain of this RetroMeet. Will be used for emails, user-agents, etc +LOCAL_DOMAIN= + PGSQL_HOST= PGSQL_DATABASE= # This is the main database username @@ -17,12 +24,20 @@ SESSION_SECRET= # The first language on the list will be the default in case the user's language is not supported. # PHOTON_SUPPORTED_LANGUAGES=en,fr,de - # We use nominatim (https://nominatim.org/) as a fallback for geolocation. # We use it whenever we cannot use photon, such as when the language is not supported by photon # However, nominatim's API limits are low. So this allows us to configure our own nominatim host # NOMINATIM_API_HOST=https://nominatim.openstreetmap.org +# Can be used to add information about the current prerelease (i.e alpha1, alpha2, etc) +RETROMEET_VERSION_PRERELEASE= +# Can be used to add information about the current version (for instance, fork name) +RETROMEET_VERSION_METADATA= + +# Can be used to override the recommended companion app +COMPANION_APPLICATION_NAME= +COMPANION_APPLICATION_URL= + # We recommend that in production you use some S3-like storage: minio, Wasabi, AWS S3, etc # You need to configure it using the following variables: S3_ENABLED=true @@ -31,3 +46,21 @@ AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= S3_ENDPOINT= S3_REGION= + +# This is to enable SMTP in *dev*. It will be ignored in production (where smtp is always enabled). This can be used to debug emails or see the final result in a client +USE_SMTP=true + +# SMTP variables +SMTP_PORT= +SMTP_SERVER= +SMTP_LOGIN= +SMTP_PASSWORD= +SMTP_DOMAIN= +SMTP_AUTH_METHOD= +SMTP_CA_FILE= +SMTP_OPENSSL_VERIFY_MODE= +SMTP_TLS= +SMTP_SSL= +SMTP_ENABLE_STARTTLS= +SMTP_ENABLE_STARTTLS_AUTO= +SMTP_FROM_ADDRESS=