From 9f5d27e087ceba96cb5b3eb4df519ee30275a2ba Mon Sep 17 00:00:00 2001 From: Dobromir Popov Date: Sun, 7 Apr 2024 21:10:11 +0300 Subject: [PATCH] real emails on TEST server --- .env.production | 8 +++++++- .env.test | 6 ++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.env.production b/.env.production index 15d66db..82f44eb 100644 --- a/.env.production +++ b/.env.production @@ -6,4 +6,10 @@ NEXT_PUBLIC_PUBLIC_URL= https://sofia.mwitnessing.com # Linux: `openssl rand -hex 32` or go to https://generate-secret.now.sh/32 NEXTAUTH_SECRET=1dd8a5457970d1dda50600be28e935ecc4513ff27c49c431849e6746f158d638 # ? do we need to duplicate this? already defined in the deoployment yml file -DATABASE=mysql://jwpwsofia:dwxhns9p9vp248V39xJyRthUsZ2gR9@mariadb:3306/jwpwsofia \ No newline at end of file +DATABASE=mysql://jwpwsofia:dwxhns9p9vp248V39xJyRthUsZ2gR9@mariadb:3306/jwpwsofia + + +MAILTRAP_HOST_BULK=bulk.smtp.mailtrap.io +MAILTRAP_HOST=live.smtp.mailtrap.io +MAILTRAP_USER=api +MAILTRAP_PASS=1cfe82e747b8dc3390ed08bb16e0f48d \ No newline at end of file diff --git a/.env.test b/.env.test index b99f907..6a513e6 100644 --- a/.env.test +++ b/.env.test @@ -30,5 +30,7 @@ GITHUB_SECRET= TWITTER_ID= TWITTER_SECRET= -EMAIL_SERVER=smtp://8ec69527ff2104:c7bc05f171c96c@smtp.mailtrap.io:2525 -EMAIL_FROM=noreply@example.com +MAILTRAP_HOST_BULK=bulk.smtp.mailtrap.io +MAILTRAP_HOST=live.smtp.mailtrap.io +MAILTRAP_USER=api +MAILTRAP_PASS=1cfe82e747b8dc3390ed08bb16e0f48d \ No newline at end of file