Update ENV and fix CORS

This commit is contained in:
Fmstrat 2021-10-18 11:54:20 -04:00
parent 007bc81581
commit 6a87803b5f
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ export APP_SETTINGS=fittrackee.config.DevelopmentConfig
export APP_SECRET_KEY='just for test'
# export APP_WORKERS=
export APP_LOG=fittrackee.log
export UPLOAD_FOLDER=/usr/src/apps/uploads
export UPLOAD_FOLDER=/usr/src/app/uploads
# Database
export DATABASE_URL=postgresql://fittrackee:fittrackee@fittrackee-db:5432/fittrackee

View File

@ -37,7 +37,7 @@ services:
container_name: fittrackee_client
environment:
- NODE_ENV=development
- REACT_APP_API_URL=http://0.0.0.0:5000
- REACT_APP_API_URL=http://localhost:5000
build:
context: ./fittrackee_client
volumes: