update README with new required .env

This commit is contained in:
canove
2020-09-30 19:41:44 -03:00
parent e534b84abd
commit c1ed20a559
2 changed files with 11 additions and 9 deletions

View File

@@ -194,6 +194,7 @@ nano whaticket/backend/.env
```bash
NODE_ENV=
BACKEND_URL=https://api.mydomain.com #USE HTTPS HERE, WE WILL ADD SSL LATTER
FRONTEND_URL=https://myapp.mydomain.com #USE HTTPS HERE, WE WILL ADD SSL LATTER, CORS RELATED!
PROXY_PORT=443 #USE NGINX REVERSE PROXY PORT HERE, WE WILL CONFIGURE IT LATTER
PORT=8080

View File

@@ -1,9 +1,10 @@
NODE_ENV=
BACKEND_URL=http://localhost
PROXY_PORT=8080
PORT=8080
DB_HOST=
DB_USER=
DB_PASS=
DB_NAME=
NODE_ENV=
BACKEND_URL=http://localhost
FRONTEND_URL=http://localhost:3000
PROXY_PORT=8080
PORT=8080
DB_HOST=
DB_USER=
DB_PASS=
DB_NAME=