mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-17 19:37:02 +00:00
Add PROXY_PORT in docker-compose e .env
This commit is contained in:
@@ -6,14 +6,15 @@ TZ=America/Fortaleza
|
|||||||
# BACKEND
|
# BACKEND
|
||||||
BACKEND_PORT=8080
|
BACKEND_PORT=8080
|
||||||
BACKEND_SERVER_NAME=api.mydomain.com
|
BACKEND_SERVER_NAME=api.mydomain.com
|
||||||
BACKEND_URL=https://api.mydomain.com/
|
BACKEND_URL=https://api.mydomain.com
|
||||||
|
PROXY_PORT=443
|
||||||
JWT_SECRET=3123123213123
|
JWT_SECRET=3123123213123
|
||||||
JWT_REFRESH_SECRET=75756756756
|
JWT_REFRESH_SECRET=75756756756
|
||||||
|
|
||||||
# FRONTEND
|
# FRONTEND
|
||||||
FRONTEND_PORT=3000
|
FRONTEND_PORT=3000
|
||||||
FRONTEND_SERVER_NAME=myapp.mydomain.com
|
FRONTEND_SERVER_NAME=myapp.mydomain.com
|
||||||
FRONTEND_URL=https://myapp.mydomain.com/
|
FRONTEND_URL=https://myapp.mydomain.com
|
||||||
|
|
||||||
# BROWSERLESS
|
# BROWSERLESS
|
||||||
MAX_CONCURRENT_SESSIONS=1
|
MAX_CONCURRENT_SESSIONS=1
|
||||||
@@ -16,8 +16,9 @@ services:
|
|||||||
- DB_NAME=${MYSQL_DATABASE:-whaticket}
|
- DB_NAME=${MYSQL_DATABASE:-whaticket}
|
||||||
- JWT_SECRET=${JWT_SECRET:-3123123213123}
|
- JWT_SECRET=${JWT_SECRET:-3123123213123}
|
||||||
- JWT_REFRESH_SECRET=${JWT_REFRESH_SECRET:-75756756756}
|
- JWT_REFRESH_SECRET=${JWT_REFRESH_SECRET:-75756756756}
|
||||||
- BACKEND_URL=${BACKEND_URL:-http://localhost:8080}
|
- BACKEND_URL=${BACKEND_URL:-http://localhost}
|
||||||
- FRONTEND_URL=${FRONTEND_URL:-http://localhost:3000}
|
- FRONTEND_URL=${FRONTEND_URL:-http://localhost:3000}
|
||||||
|
- PROXY_PORT=${PROXY_PORT:-8080}
|
||||||
- CHROME_ARGS=--no-sandbox --disable-setuid-sandbox
|
- CHROME_ARGS=--no-sandbox --disable-setuid-sandbox
|
||||||
ports:
|
ports:
|
||||||
- ${BACKEND_PORT:-8080}:3000
|
- ${BACKEND_PORT:-8080}:3000
|
||||||
|
|||||||
Reference in New Issue
Block a user