mirror of
https://github.com/makeplane/plane
synced 2025-08-07 19:59:33 +00:00
* chore: local dev improvements * chore: pr feedback * chore: fix setup * fix: env variables updated in .env.example files * fix(local): sign in to admin and web * chore: update minio deployment to create an bucket automatically on startup. * chore: resolve merge conflict * chore: updated api env with live base path --------- Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com> Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
74 lines
1.7 KiB
Plaintext
74 lines
1.7 KiB
Plaintext
# Backend
|
|
# Debug value for api server use it as 0 for production use
|
|
DEBUG=0
|
|
CORS_ALLOWED_ORIGINS="http://localhost:3000,http://localhost:3001,http://localhost:3002,http://localhost:3100"
|
|
|
|
# Database Settings
|
|
POSTGRES_USER="plane"
|
|
POSTGRES_PASSWORD="plane"
|
|
POSTGRES_HOST="plane-db"
|
|
POSTGRES_DB="plane"
|
|
POSTGRES_PORT=5432
|
|
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}
|
|
|
|
# Redis Settings
|
|
REDIS_HOST="plane-redis"
|
|
REDIS_PORT="6379"
|
|
REDIS_URL="redis://${REDIS_HOST}:6379/"
|
|
|
|
# RabbitMQ Settings
|
|
RABBITMQ_HOST="plane-mq"
|
|
RABBITMQ_PORT="5672"
|
|
RABBITMQ_USER="plane"
|
|
RABBITMQ_PASSWORD="plane"
|
|
RABBITMQ_VHOST="plane"
|
|
|
|
# AWS Settings
|
|
AWS_REGION=""
|
|
AWS_ACCESS_KEY_ID="access-key"
|
|
AWS_SECRET_ACCESS_KEY="secret-key"
|
|
AWS_S3_ENDPOINT_URL="http://localhost: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=0
|
|
|
|
# Nginx Configuration
|
|
NGINX_PORT=80
|
|
|
|
# Email redirections and minio domain settings
|
|
WEB_URL="http://localhost:8000"
|
|
|
|
# Gunicorn Workers
|
|
GUNICORN_WORKERS=2
|
|
|
|
# Base URLs
|
|
ADMIN_BASE_URL="http://localhost:3001"
|
|
ADMIN_BASE_PATH="/god-mode"
|
|
|
|
SPACE_BASE_URL="http://localhost:3002"
|
|
SPACE_BASE_PATH="/spaces"
|
|
|
|
APP_BASE_URL="http://localhost:3000"
|
|
APP_BASE_PATH=""
|
|
|
|
LIVE_BASE_URL="http://localhost:3100"
|
|
LIVE_BASE_PATH="/live"
|
|
|
|
LIVE_SERVER_SECRET_KEY="secret-key"
|
|
|
|
# Hard delete files after days
|
|
HARD_DELETE_AFTER_DAYS=60
|
|
|
|
# Force HTTPS for handling SSL Termination
|
|
MINIO_ENDPOINT_SSL=0
|
|
|
|
# API key rate limit
|
|
API_KEY_RATE_LIMIT="60/minute"
|