From 3ad8cc3fe0fb0094bac31c3d11b7dbc9e67e8f5e Mon Sep 17 00:00:00 2001 From: Junior <37000190+JuniorDark@users.noreply.github.com> Date: Wed, 17 May 2023 12:35:36 -0300 Subject: [PATCH] Update .env --- .env | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/.env b/.env index fa39e9f..7568a6d 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ ################################## -# API CONFIGURATION +# API CONFIGURATION # ################################## # Set the port for receiving connections @@ -7,16 +7,16 @@ PORT=3000 AUTH_PORT=8070 BILLING_PORT=8080 -Determines whether the helmet middleware is enabled or disabled. If enabled https need to be used for the api. -If set to true, the helmet middleware is included in the middleware stack, which adds various security-related HTTP headers to the application's responses to help prevent common web vulnerabilities. -If set to false, the helmet middleware is not included in the middleware stack, and the application's responses will not have these extra headers. +# Determines whether the helmet middleware is enabled or disabled. If enabled https need to be used for the api. +# If set to true, the helmet middleware is included in the middleware stack, which adds various security-related HTTP headers to the application's responses to help prevent common web vulnerabilities. +# If set to false, the helmet middleware is not included in the middleware stack, and the application's responses will not have these extra headers. ENABLE_HELMET=false # Set the server timezone TZ=America/New_York ################################## -# LOGGING CONFIGURATION # +# LOGGING CONFIGURATION # ################################## LOG_LEVEL=info @@ -27,7 +27,7 @@ LOG_ACCOUNT_CONSOLE=false LOG_MAILER_CONSOLE=false ################################## -# API DATABASE CONFIGURATION # +# API DATABASE CONFIGURATION # ################################## # Set a host to connect to the SQL server database. @@ -42,7 +42,7 @@ DB_USER=sa # Set the password to connect to database DB_PASSWORD= -Set to encrypt the connection to the database +# Set to encrypt the connection to the database DB_ENCRYPT=false ################################## @@ -58,26 +58,25 @@ GATESERVER_PORT=50001 ################################## # EMAIL CONFIGURATION # ################################## -using gmail smtp server - +# using gmail smtp server # To generate app passwords, first you have to enable 2-Step Verification on our Google account. # Go to your Google account security settings (https://myaccount.google.com/security) and enable 2-Step Verification # Now, you can select the App passwords option to set up a new app password. https://myaccount.google.com/u/2/apppasswords -The hostname or IP address of the SMTP server +# The hostname or IP address of the SMTP server SMTP_HOST=smtp.gmail.com -The port number of the SMTP server +# The port number of the SMTP server SMTP_PORT=465 -The encryption protocol to use (e.g. ssl, tls) +# The encryption protocol to use (e.g. ssl, tls) SMTP_ENCRYPTION=ssl -# your gmail +# your email SMTP_USERNAME=your.email@gmail.com # app password SMTP_PASSWORD= -The name to use as the sender in emails +# The name to use as the sender in emails SMTP_FROMNAME=Rusty Hearts