refactor .env usage due to unexpexted env values

This commit is contained in:
Dobromir Popov
2024-03-31 20:17:06 +03:00
parent 82179f62a3
commit e5ba7a33a1
25 changed files with 53 additions and 92 deletions

10
.env
View File

@ -1,11 +1,9 @@
#NODE_TLS_REJECT_UNAUTHORIZED='0'
SSL_ENABLED=false
NEXT_PUBLIC_PROTOCOL=https
NEXT_PUBLIC_HOST=localhost
NEXT_PUBLIC_PORT=3003
NEXTAUTH_URL=https://localhost:3003
# NEXTAUTH_URL_INTERNAL=http://127.0.0.1:3003
# SSL_ENABLED=false
# NEXT_PUBLIC_HOST=localhost
# NEXT_PUBLIC_PORT=3003
# PUBLIC_URL=http://localhost:3003
# Linux: `openssl rand -hex 32` or go to https://generate-secret.now.sh/32
NEXTAUTH_SECRET=ed8a9681efc414df89dfd03cd188ed58