From df4c8d181fd5b0851b9fcc179a0f4ee467857adf Mon Sep 17 00:00:00 2001 From: Dobromir Popov Date: Tue, 27 Feb 2024 15:56:13 +0200 Subject: [PATCH] env cleanup. prod -production swap --- .env.prod | 9 --------- .env.prod_staging | 1 - .env.production | 7 +++---- 3 files changed, 3 insertions(+), 14 deletions(-) delete mode 100644 .env.prod diff --git a/.env.prod b/.env.prod deleted file mode 100644 index a3438f2..0000000 --- a/.env.prod +++ /dev/null @@ -1,9 +0,0 @@ -NEXT_PUBLIC_PROTOCOL=https -NEXT_PUBLIC_PORT= -NEXT_PUBLIC_HOST=sofia.mwhitnessing.com -NEXTAUTH_URL= https://sofia.mwhitnessing.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_URL=mysql://jwpwsofia:dwxhns9p9vp248V39xJyRthUsZ2gR9@mariadb:3306/jwpwsofia \ No newline at end of file diff --git a/.env.prod_staging b/.env.prod_staging index 65f02bc..4542e30 100644 --- a/.env.prod_staging +++ b/.env.prod_staging @@ -3,7 +3,6 @@ NEXT_PUBLIC_PORT= NEXT_PUBLIC_HOST=staging.mwhitnessing.com NEXTAUTH_URL= https://staging.mwhitnessing.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 diff --git a/.env.production b/.env.production index 65f02bc..a3438f2 100644 --- a/.env.production +++ b/.env.production @@ -1,10 +1,9 @@ NEXT_PUBLIC_PROTOCOL=https NEXT_PUBLIC_PORT= -NEXT_PUBLIC_HOST=staging.mwhitnessing.com -NEXTAUTH_URL= https://staging.mwhitnessing.com - +NEXT_PUBLIC_HOST=sofia.mwhitnessing.com +NEXTAUTH_URL= https://sofia.mwhitnessing.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_URL=mysql://jwpwsofia:dwxhns9p9vp248V39xJyRthUsZ2gR9@mariadb-staging:3306/jwpwsofia \ No newline at end of file +DATABASE_URL=mysql://jwpwsofia:dwxhns9p9vp248V39xJyRthUsZ2gR9@mariadb:3306/jwpwsofia \ No newline at end of file