Ask us a license key sales@keymetrics.io
sudo wget -qO- https://get.docker.com/ | sh
sudo curl -L "https://github.com/docker/compose/releases/download/1.25.5/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
wget https://raw.githubusercontent.com/keymetrics/on-premise/master/docker-compose.yml
docker-compose up -d
Go to http://server-ip-address/wizard
Required:
- Set the license key
- Set the address to access to the PM2.io interface
- Set the SMTP server to receive notifications
Optional:
- LDAP, Github login, Google login...
docker-compose stop km-wizard
Now open the url http://server-ip-address/, create an account and you are ready to go.
Instead of the default docker-compose.yml file use the docker-compose.yml with ssl enabled
Then SSL certificates which is running PM2 Enterprise on these path:
- Your private certificate on the path
/etc/ssl/pm2-ssl-certificate.crt
- Your private key on the path
/etc/ssl/pm2-ssl-certificate.key
If you want to use a custom proxy, you can find the nginx configuration that we use here to configure the correct redirection for each service.
Start the wizard again:
docker-compose start km-wizard
Go to http://server-ip-address/wizard, edit the coniguration and restart all application with:
docker-compose restart
Do not forget to stop km-wizard once configuration is finished
Go back to the folder containing the docker-compose.yml you wget'ed and run:
docker-compose pull
docker-compose up --detach --build
Just set the PM2_PROXY
environment variable with the proxy address.
Example:
KEYMETRICS_NODE=<server-ip-address> PM2_PROXY=<proxy-address> pm2 link <secret> <public>
For 1 to 100 agents you will need at least a VM with 4 CPUs, 8gb RAM and 30GB SSD.
Data is stored within Elasticsearch. Make sure you do not wipe Elasticsearch data.
Port 443
Tech: tech@keymetrics.io Sales: sales@keymetrics.io