Description
The CCM web application serves the CCM Monitor and processes web service endpoints. If desired, separate instances of the web app may be deployed, one instance to process web services and another instance (or even multiple load-balanced instances) to serve the CCM Monitor.
Directory
<ccmRoot>/ccmex/ccm/bin/
Command
node www
Environment
| Environment Variable | Value |
|---|---|
| PORT | port number |
| RESISDB | redis database number |
| CCMTENANT | ccm instance name, consistent for all processes for an environment; typically e.g. for .../ccmDemo/... ='demo' |
| SMRTAPI | smrttouch API V1 endpoint; for retrieval of project info |
| TOKEN | access token for smrttouch API |
| RABBITMQ_URL | e.g. amqp://md5:numinary@vitalsigns1-stg.smrttouch.com:5672 |
| RABBITMQ_QUEUE | e.g. nd5.dataserverq.test |
Example
[program:demoweb]
directory=/git/ccm/ccmDemo/ccmex/ccm/bin
environment=PORT="1335",REDISDB="6",
CCMTENANT='demo',SMRTAPI='api.smrttouch.com:80/api/v1/',
TOKEN="a1d9c44c084596e1d30e0413122d4d41aed853c81cca9b44c0a2387623"
command=node www
autostart=false
autorestart=true
startretries=5
stdout=/git/ccm/logs/demo.ccmweb.out.log
stderr=/git/ccm/logs/demo.ccmweb.out.err
user=root