Update ENV and fix CORS
This commit is contained in:
parent
007bc81581
commit
6a87803b5f
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user