forked from github/plane
82ba9833f2
* dev: enable api logging and control worker count through env * dev: enable logger instead of printing * dev: remove worker counts * dev: enable global level log settings * dev: add rotating logger * fix: logging configuration * dev: api logging and moving the capture exception to utils for logging and then capturing * fix: information leaking through print logs * dev: linting fix * dev: logging configuration for django * fix: linting errors * dev: add logs for migrator * dev: logging cofiguration * dev: add permision for captain user in Plane * dev: add log paths in compose * dev: create directory for logs * dev: fix linting errors
47 lines
1.0 KiB
Plaintext
47 lines
1.0 KiB
Plaintext
# Backend
|
|
# Debug value for api server use it as 0 for production use
|
|
DEBUG=0
|
|
CORS_ALLOWED_ORIGINS=""
|
|
|
|
# Error logs
|
|
SENTRY_DSN=""
|
|
SENTRY_ENVIRONMENT="development"
|
|
|
|
# Database Settings
|
|
POSTGRES_USER="plane"
|
|
POSTGRES_PASSWORD="plane"
|
|
POSTGRES_HOST="plane-db"
|
|
POSTGRES_DB="plane"
|
|
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}/${POSTGRES_DB}
|
|
|
|
|
|
# Redis Settings
|
|
REDIS_HOST="plane-redis"
|
|
REDIS_PORT="6379"
|
|
REDIS_URL="redis://${REDIS_HOST}:6379/"
|
|
|
|
# AWS Settings
|
|
AWS_REGION=""
|
|
AWS_ACCESS_KEY_ID="access-key"
|
|
AWS_SECRET_ACCESS_KEY="secret-key"
|
|
AWS_S3_ENDPOINT_URL="http://plane-minio:9000"
|
|
# Changing this requires change in the nginx.conf for uploads if using minio setup
|
|
AWS_S3_BUCKET_NAME="uploads"
|
|
# Maximum file upload limit
|
|
FILE_SIZE_LIMIT=5242880
|
|
|
|
# Settings related to Docker
|
|
DOCKERIZED=1 # deprecated
|
|
|
|
# set to 1 If using the pre-configured minio setup
|
|
USE_MINIO=1
|
|
|
|
# Nginx Configuration
|
|
NGINX_PORT=80
|
|
|
|
# Email redirections and minio domain settings
|
|
WEB_URL="http://localhost"
|
|
|
|
# Gunicorn Workers
|
|
GUNICORN_WORKERS=2
|