-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
12 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,30 +5,3 @@ COMPOSE_PROFILES= "dev" | |
|
||
# ------------ Service ports exposed by docker, ensure to prevent conflicts. | ||
APP_PORT= "3000" | ||
ENDPOINT_PORT= "8055" | ||
|
||
# ------------ Define cors to ensure secure origins. | ||
# "ORIGIN" | An URL that points to the frontend. | ||
# "ENDPOINT" | The endpoint URL of Directus. | ||
CORS_ORIGIN= "http://localhost:3000" | ||
CORS_ENDPOINT= "http://localhost:8055" | ||
|
||
# ----- Ensure that these variables are randomized. | ||
KEY= "next-leaflet-b5b5-5996-9aa3-922530ec40b1" | ||
SECRET= "next-leaflet-cda1-52c2-5ea1-c8022c45e263" | ||
|
||
# ------------- Defined to supply Directus with default credentials. | ||
ADMIN_EMAIL= "[email protected]" | ||
ADMIN_PASSWORD= "admin" | ||
|
||
# ------------------ SMTP credentials, settings are totally optional. | ||
EMAIL_FROM= "[email protected]" | ||
EMAIL_SMTP_HOST= "mail.leaflet.app" | ||
EMAIL_SMTP_USER= "[email protected]" | ||
EMAIL_SMTP_PASSWORD= "admin" | ||
|
||
# -------------------- Rate Limiter, prevents overload on the endpoint. | ||
# "POINTS" | The amount of hits allowed within the DURATION timeframe. | ||
# "DURATION" | Number of seconds each timeframe takes to pass. | ||
RATE_LIMITER_POINTS= "50" | ||
RATE_LIMITER_DURATION= "1" |