mongo
- central database for auth, project management etc.mongo-express
- frontend for mongo serviceminio
- asset storage using the S3 APIstatic
- static assets for local mocking of optional external services
Please refer to the .env.example
file for an example environment
configuration.
Setup Guide
Please execute the following command on instantiation of the MongoDB ReplicaSet:
openssl rand -base64 756 > mongo.keyfile
chmod 400 mongo.keyfile
docker exec mongo <SHELL_SCRIPT>
Shell Script:
mongosh --eval "rs.initiate({"_id": "rs0", "version": 1, "members": [{"_id": 0, host: "127.0.0.1:27017", "priority": 1}]})" --username <ROOT_USERNAME> --password
To reset the ReplicaSet, delete the local files being mounted for the database, delete the container and rerun.
Add any mock assets for external integrations to be served over HTTP.
Examples include the monitoring camera service and calendar integrations.
These assets are stored in the public
directory and loaded in when
the static
image is built.
- if behind reverse proxy bridge must have socket path = /{REVERSE_PROXY_PATH}/{CORE_SOCKET_PATH}
Dockerfile for basic Node HTTP server for dummying static files, i.e. calendar JSON, IP camera HTML feeds.
Directory for storing static assets to be served. Gets mounted into Docker image.
Directory for storing test global assets for loading into Minio storage and available to all projects.
Mounted volume for Minio service.
Mounted volume for MongoDB service.
Example environment for storing GitHub token used for releasing artefacts.
Directory for storing deployment configurations
Directory for storing deployment scripts
Script for building and optionally releasing the ove-bridge Electron application. Accepts platform, arch and release as arguments, as described under the script's help option.
Script for building and optionally releasing the ove-client Electron application. Accepts platform, arch and release as arguments, as described under the script's help option.
Script for building and saving the ove-core Docker image. Accepts platform, version and no-cache as arguments, as described under the script's help option.
Script for running all analysis tooling, linting and tests, providing a comprehensive view of the state of the project, as well as generating additional documentation.
Example credentials.json file to be auto-populated into the database by the auto-populate.js script. One admin user and the credentials of a bridge are recommended to be provided.
Example nginx configuration for testing services behind a reverse proxy.
Docker Compose file for managing development services.
Script for generating JWTs from next-ove for authenticating the REST API without using ove-core-ui.
Example MapLayers.json file for configuring the available layers to the OVE Maps App.
Script for controlling MDC screens, based on next-ove implementation.
Script for creating a mock ove-bridge instance, allowing dummy data to be passed to the core cloud platform.
Example ove_networks_config.json file for configuring the presets to the OVE Networks App.
tree-sitter is currently being installed as an optional dependency of swagger-ui. All functionality is separate from this library, and as it fails to locate the necessary native binaries for Electron packaging, this is a utility script for removing them.