forked from INTO-CPS-Association/DTaaS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release-v0.3prtest' into pr-239
- Loading branch information
Showing
23 changed files
with
305 additions
and
226 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Platform Services | ||
|
||
It is recommended to install certain third-party software for use | ||
by digital twins running inside the DTaaS software. | ||
|
||
The installation scripts in this directory install: | ||
|
||
* **Influx** time-series database and dashboard service | ||
* **Grafana** visualization and dashboard service | ||
* **RabbitMQ** AMQP broker and its' management interface | ||
* Eclipse Mosquitto **MQTT** broker | ||
|
||
## Configure and Install | ||
|
||
The first step in installation is to specify the config of the services. | ||
There are two configuration files. The __services.yml__ contains most | ||
of configuration settings. The __mqtt-default.conf__ file contains | ||
the MQTT listening port. Update these two config files before proceeding | ||
with the installation of the services. | ||
|
||
```bash | ||
yarn install | ||
node services.js | ||
``` | ||
|
||
## Use | ||
|
||
After the installation is complete, you can see the following services active | ||
at the following ports / URLs. | ||
|
||
| service | external url | | ||
|:---|:---| | ||
| Influx | services.foo.com | | ||
| Grafana | services.foo.com:3000 | | ||
| RabbitMQ Broker | services.foo.com:5672 | | ||
| RabbitMQ Broker Management Website | services.foo.com:15672 | | ||
| MQTT Broker | services.foo.com:1883 | | ||
|| | ||
|
||
The firewall and network access settings of corporate / cloud network need to be | ||
configured to allow external access to the services. Otherwise the users of DTaaS | ||
will not be able to utilize these services from their user workspaces. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
listener 1883 | ||
password_file /etc/mosquitto/passwd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"name": "@into-cps-association/dtaas-install-services", | ||
"version": "0.0.1", | ||
"description": "Install platform services for the DTaaS software", | ||
"author": "Prasad Talasila", | ||
"private": false, | ||
"type": "module", | ||
"dependencies": { | ||
"chalk": "^5.3.0", | ||
"execa": "^8.0.1", | ||
"js-yaml": "^4.1.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.