mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
58bf056ddb
* fix: login redirection * dev: log the user out when deactivating the account * dev: update redirect uris for google and github * fix: redirection url and invitation api and add redirection to god mode in nginx * dev: add reset password redirection * dev: update nginx headers * dev: fix setup sh and env example and put validation for use minio when fetching project covers * dev: stabilize dev setup * fix: handled redirection error in web, space, and admin apps * fix: resovled build errors --------- Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
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="http://localhost"
|
|
|
|
# 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
|