dev: environment configuration for backend

This commit is contained in:
pablohashescobar 2023-11-17 12:14:39 +05:30
parent 93aeb3795d
commit 6531e420fc
3 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,7 @@
# Debug value for api server use it as 0 for production use
DEBUG=0
CORS_ALLOWED_ORIGINS=""
ENVIRONMENT="development"
# Error logs
SENTRY_DSN=""

View File

@ -12,6 +12,7 @@ x-app-env : &app-env
- GITHUB_CLIENT_SECRET=${GITHUB_CLIENT_SECRET:-""}
- DOCKERIZED=${DOCKERIZED:-1} # deprecated
- CORS_ALLOWED_ORIGINS=${CORS_ALLOWED_ORIGINS:-""}
- ENVIRONMENT=${ENVIRONMENT:-"production"}
# Gunicorn Workers
- GUNICORN_WORKERS=${GUNICORN_WORKERS:-2}
#DB SETTINGS

View File

@ -14,7 +14,7 @@ SENTRY_DSN=""
GITHUB_CLIENT_SECRET=""
DOCKERIZED=1 # deprecated
CORS_ALLOWED_ORIGINS=""
ENVIRONMENT="production"
#DB SETTINGS
PGHOST=plane-db