From f83a3e9bd918572a1ee4f380b5c51752b5387556 Mon Sep 17 00:00:00 2001 From: Dobromir Popov Date: Mon, 1 Apr 2024 11:11:23 +0300 Subject: [PATCH] staging has standard test environment now --- .env.development | 2 +- .env.test | 15 ++++++--------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.env.development b/.env.development index 9204bc9..8029d98 100644 --- a/.env.development +++ b/.env.development @@ -1,8 +1,8 @@ NODE_TLS_REJECT_UNAUTHORIZED=0 # NODE_EXTRA_CA_CERTS=C:\\Users\\popov\\AppData\\Local\\mkcert NEXT_PUBLIC_PROTOCOL=https -NEXT_PUBLIC_HOST=localhost NEXT_PUBLIC_PORT=3003 +NEXT_PUBLIC_HOST=localhost PUBLIC_URL=https://localhost:3003 SSL_KEY=./certificates/localhost-key.pem diff --git a/.env.test b/.env.test index 44c7087..78ba247 100644 --- a/.env.test +++ b/.env.test @@ -1,15 +1,12 @@ -NODE_TLS_REJECT_UNAUTHORIZED='0' -# DATABASE_URL="file:./src/data/dev.db" -# DATABASE_URL="mysql://root:Zelen0ku4e@192.168.0.10:3306/cart" - -SSL_ENABLED=true +NEXT_PUBLIC_PROTOCOL=http NEXT_PUBLIC_PORT= -NEXT_PUBLIC_HOST=cart.d-popov.com -PUBLIC_URL=https://cart.d-popov.com +NEXT_PUBLIC_HOST=staging.mwhitnessing.com +PUBLIC_URL=https://staging.mwhitnessing.com # Linux: `openssl rand -hex 32` or go to https://generate-secret.now.sh/32 -NEXTAUTH_SECRET=ed8a9681efc414df89dfd03cd188ed58 -DATABASE_URL=mysql://cart:cart2023@192.168.0.10:3306/cart_demo +NEXTAUTH_SECRET=1dd8a5457970d1dda50600be28e935ecc4513ff27c49c431849e6746f158d638 +# ? do we need to duplicate this? already defined in the deoployment yml file +DATABASE_URL=mysql://jwpwsofia_demo:dwxhns9p9vp248@mariadb:3306/jwpwsofia_demo APPLE_ID= APPLE_TEAM_ID=