Skip to content

Deployment options ​

Docker Compose is the recommended deployment path and has been validated end-to-end in a real fresh-install environment. The physical-machine and service-manager paths are advanced references for operators who need them.

The bundled release starts four product containers with one command:

  • app — Flask/Gunicorn, WebSocket, API, and the built-in Vue SPA;
  • worker — Celery prefork worker for recoverable Autonomy Runs;
  • redis — Redis 8, split into DB0 checkpoint/vector, DB1 broker, and DB2 session/cache data;
  • mysql — durable business, audit, Run, and knowledge metadata.

This is the path described in Getting started. The development autonomy overlay may add a separate Redis for isolation; it is not part of the four-container release topology.

For a new installation, run the version-pinned launcher from the stable GitHub Release:

bash
set -o pipefail
curl -fsSL \
  https://github.com/OrangeServers/OrangeServer/releases/download/v1.2.0/bootstrap-compose.sh \
  | sudo bash -s -- --version v1.2.0

The launcher downloads and verifies the matching deployment bundle, generates the MySQL and Redis infrastructure passwords, and starts the published ghcr.io/orangeservers/orangeserver-backend:v1.2.0 image. Application settings—including the administrator, SMTP, and AI providers—remain in the browser-based /setup wizard. Review the launcher first if your environment does not permit piping downloaded scripts to a shell.

For mainland China, use the fixed-tag Gitee launcher available from v1.0.3:

bash
set -o pipefail
curl -fsSL https://gitee.com/orangeservers/OrangeServer/raw/v1.2.0/ops/bootstrap-compose-cn.sh \
  | sudo bash -s -- --version v1.2.0

This route uses the Tencent Cloud TCR backend image and digest-pinned DaoCloud public mirrors for Nginx, Redis, and MySQL. DaoCloud has no availability SLA; the three full dependency image references are operator-overridable.

For a source checkout or an existing installation, use the repository targets:

bash
make docker-up        # bundled mode: everything in containers
make docker-up-host   # host mode: reuse an existing MySQL/Redis on the host

Physical machine ​

Install MySQL, Redis, nginx, and the Python backend directly on the host. This advanced reference path has a preflight script for the environment before first start:

bash
ops/preflight-physical-backend.sh

systemd / supervisor ​

Run the backend under systemd or supervisor with the same gunicorn command the containers use. This is an advanced reference path; unit files and configuration layouts are documented in the deployment manual.

Reference ​

The full manual — both one-line routes, environment variables, nginx configuration, health checks, and troubleshooting — lives in DEPLOY.md. For upgrades, always follow the upgrade procedure.

Released under the Apache-2.0 License.