Skip to main content
CoPilot is shipped as Docker images and is intended to be deployed via Docker Compose.
❗ WARNING: CoPilot is not intended to be exposed directly to the public Internet. Deploy behind a VPN / private network or a properly secured reverse proxy.

Prereqs


Install (Docker Compose)

1) Get docker-compose.yml

You have two common options: Option A (recommended for most users): clone the repo
Option B: download just the Compose file for a specific release Replace <VERSION> with a release tag (example: v0.1.5).

2) Create required data paths

3) Create your .env

Copy from the example and edit as needed:
At minimum, make sure SERVER_HOST is correct for your environment.

4) Start CoPilot

5) Retrieve the initial admin password

The admin password is only printed the first time CoPilot starts.

6) Access the UI

CoPilot is available on:
  • https://<your_instance_ip_or_hostname> (HTTPS / 443)
By default, an admin account is created.

Helpful Docker daemon settings (DNS / logging / MTU)

If you run into image pulls / name resolution issues, consider configuring Docker DNS and log rotation. Edit:
Example:
If you need to set MTU:
Apply:

TLS / SSL

By default, CoPilot uses a self-signed certificate valid for 365 days from install. To use your own certificate:
  1. Generate/obtain a cert/key.
  1. Mount the certs into copilot-frontend and set TLS_CERT_PATH / TLS_KEY_PATH.

Customer Portal (Optional)

CoPilot includes an optional customer-facing portal for end users to view cases, alerts, and agents.

Enable the Customer Portal

In docker-compose.yml, the service is commented out by default.
  1. Edit the file:
  1. Uncomment:
  1. Apply:
  1. Access it:
  • https://<your_instance_ip>:8443

Customer Portal TLS

Like the main frontend, it uses a self-signed cert by default. To use your own:

Creating Customer Portal Users

Customer portal users are managed via the main CoPilot admin interface:
  1. Log in as an admin
  2. Navigate to Users
  3. Create a user with the customer_user role
  4. Assign the user to the correct customer organization

Upgrade

You’ll likely want to upgrade often as changes ship frequently. From your CoPilot directory:
If you need a clean restart (rare):
Tip: make sure your persistent data/ directory is backed up before major upgrades.