DocumentationInstall and upgrade
Docs/Get started

Install and upgrade

Choose a deployment mode, run setup, and keep the stack current.

Choose a deployment mode

ModeUse it forWhat changes
demoEvaluation and product toursAdds sample data and keeps external actions in dry-run mode.
prodA persistent business deploymentRuns the production stack without sample business data.
devContributing to OpenNekoUses the source tree and development services.

Install one deployment

Install the CLI
curl -fsSL https://openneko.app/install.sh | sh
Create a production deployment
mkdir -p ~/openneko && cd ~/openneko
openneko setup --mode prod

Run setup from the directory that should hold the deployment configuration. OpenNeko writes the stack files there and prompts for the required credentials.

Run several customer instances on one VM

Install the CLI once, then give every customer a stable lowercase instance name. Each named instance gets its own Compose project, databases and volumes, encrypted config and secrets, OpenShell state, backup namespace, runtime markers, ports, and Docker subnet.

Create two isolated customer stacks
openneko --instance acme setup --mode prod --port 3101 --openshell-port 18101 --bind-address 127.0.0.1
openneko --instance globex setup --mode prod --port 3102 --openshell-port 18102 --bind-address 127.0.0.1
openneko instances

The port and subnet flags are optional for a new named instance: setup selects available values and saves them for later commands. Explicit loopback web ports are useful when a host reverse proxy owns public ports 80 and 443.

Example Caddy routes
acme.example.com {
  reverse_proxy 127.0.0.1:3101
}

globex.example.com {
  reverse_proxy 127.0.0.1:3102
}
Always target the customer you intend to operate
openneko --instance acme status
openneko --instance acme logs -f
openneko --instance acme backup now
openneko --instance acme upgrade

Upgrade

The CLI upgrade command is the normal upgrade path. It checks the release, updates deployment assets, runs database migrations, and brings the stack back up.

Upgrade to the current release
cd ~/openneko
openneko upgrade
openneko status
Install a specific release
openneko upgrade --version <version>

For a named installation, add --instance <name> to backup, upgrade, status, and every other customer-specific operation.

Ports and services

Default portServicePurpose
3000WebOperator interface and setup; the only network-exposed application boundary.
18080OpenShell gatewaySandbox callback endpoint published on host loopback only.

Postgres, GraphJin, the worker broker, backup API, registry, and demo data services stay on the private Docker network. Configure the web listener during setup with --port and --bind-address; configure the loopback gateway with --openshell-port.