mirror of
https://github.com/gosticks/plane.git
synced 2025-10-16 12:45:33 +00:00
* Remove deprecated Nginx configuration files and scripts, including Dockerfiles, environment scripts, and configuration templates, to streamline the project structure. * Update environment configuration and Docker setup for proxy services - Added LISTEN_PORT and LISTEN_SSL_PORT variables to .env.example and related files. - Updated Docker Compose files to reference new port variables instead of deprecated NGINX_PORT. - Adjusted README and variable documentation to reflect changes in port configuration. - Changed build context for proxy services to use the new directory structure. * Refactor port configuration in environment and Docker files - Renamed LISTEN_PORT and LISTEN_SSL_PORT to LISTEN_HTTP_PORT and LISTEN_HTTPS_PORT in .env.example and related files. - Updated Docker Compose configurations to reflect the new port variable names. - Adjusted documentation in README and variables.env to ensure consistency with the new naming conventions.
73 lines
1.7 KiB
Plaintext
73 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 proxy config 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
|
|
|
|
|
|
|
|
# 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"
|