❗ 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
- A Linux host (VM or bare metal recommended)
- Docker Engine
- Docker Compose
Install (Docker Compose)
1) Get docker-compose.yml
You have two common options:
Option A (recommended for most users): clone the repo
<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:
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)
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:TLS / SSL
By default, CoPilot uses a self-signed certificate valid for 365 days from install. To use your own certificate:- Generate/obtain a cert/key.
- Mount the certs into
copilot-frontendand setTLS_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
Indocker-compose.yml, the service is commented out by default.
- Edit the file:
- Uncomment:
- Apply:
- 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:- Log in as an admin
- Navigate to Users
- Create a user with the
customer_userrole - Assign the user to the correct customer organization
Upgrade
You’ll likely want to upgrade often as changes ship frequently. From your CoPilot directory:
Tip: make sure your persistent data/ directory is backed up before major upgrades.
