mirror of
https://github.com/makeplane/plane.git
synced 2025-12-21 14:19:38 +01:00
* refactor: reorganize deployment structure and update build workflows - Restructure deployment directories from deploy/ to deployments/ - Move selfhost files to deployments/cli/community/ - Add new AIO community deployment setup - Update GitHub Actions workflows for new directory structure - Add Caddy proxy configuration for CE deployment - Remove deprecated AIO build files and workflows - Update build context paths in install scripts * chore: update Dockerfile and supervisor configuration - Changed `apk add` command in Dockerfile to use `--no-cache` for better image size management. - Updated `build.sh` to ensure proper directory navigation with quotes around `dirname "$0"`. - Modified `supervisor.conf` to set `stderr_logfile_maxbytes` to 50MB and added `stderr_logfile_backups` for better log management across multiple services. * chore: consistent node and python version --------- Co-authored-by: sriramveeraghanta <veeraghanta.sriram@gmail.com>
34 lines
610 B
Caddyfile
34 lines
610 B
Caddyfile
(plane_proxy) {
|
|
request_body {
|
|
max_size {$FILE_SIZE_LIMIT}
|
|
}
|
|
|
|
reverse_proxy /spaces/* space:3000
|
|
|
|
reverse_proxy /god-mode/* admin:3000
|
|
|
|
reverse_proxy /live/* live:3000
|
|
|
|
reverse_proxy /api/* api:8000
|
|
|
|
reverse_proxy /auth/* api:8000
|
|
|
|
reverse_proxy /{$BUCKET_NAME}/* plane-minio:9000
|
|
|
|
reverse_proxy /* web:3000
|
|
}
|
|
|
|
{
|
|
{$CERT_EMAIL}
|
|
acme_ca {$CERT_ACME_CA:https://acme-v02.api.letsencrypt.org/directory}
|
|
{$CERT_ACME_DNS}
|
|
servers {
|
|
max_header_size 25MB
|
|
client_ip_headers X-Forwarded-For X-Real-IP
|
|
trusted_proxies static {$TRUSTED_PROXIES:0.0.0.0/0}
|
|
}
|
|
}
|
|
|
|
{$SITE_ADDRESS} {
|
|
import plane_proxy
|
|
} |