This is a server to receive and store information regarding Magistrala deployments.
The summary is located on our Website.
- Docker
- Make
- IP to Location database (Required for IP geolocation features)
To run the service locally with self-signed certificates:
-
Generate Development Certificates: This command creates self-signed certificates for
localhostand downloads necessary SSL configuration files.make dev-cert DOMAIN=localhost
Edit the nginx.conf file and replace the domain name in the ssl_certificate and ssl_certificate_key directives with
localhost. -
Build the Docker Image:
make docker-image
-
Run the Service:
make run
The service will be available at
https://localhost.
For live deployment with real SSL certificates using Let's Encrypt:
-
Configure Domain: Edit
docker/certbot/init-letsencrypt.shand update thedomainsvariable with your actual domain name. -
Generate Certificates: Run the initialization script to generate Let's Encrypt certificates.
cd docker ./certbot/init-letsencrypt.sh -
Run the Service: Use the Makefile to build and run the service as usual.
make docker-image make run
make docker-image: Builds the Docker image.make run: Runs the service using Docker Compose.make dev-cert: Generates self-signed certificates for local development.make clean: Cleans up build artifacts.make cleandocker: Stops and removes Docker containers and images.make test: Runs Go tests.
Magistrala is committed to continuously improving its services and ensuring a seamless experience for its users. To achieve this, we collect certain data from your deployments. Rest assured, this data is collected solely for the purpose of enhancing Magistrala and is not used with any malicious intent. The deployment summary can be found on our website.
The collected data includes:
- IP Address - Used for approximate location information on deployments.
- Services Used - To understand which features are popular and prioritize future developments.
- Last Seen Time - To ensure the stability and availability of Magistrala.
- Magistrala Version - To track the software version and deliver relevant updates.
We take your privacy and data security seriously. All data collected is handled in accordance with our stringent privacy policies and industry best practices.
Data collection is on by default and can be disabled by setting the env variable:
MF_SEND_TELEMETRY=false
By utilizing Magistrala, you actively contribute to its improvement. Together, we can build a more robust and efficient IoT platform. Thank you for your trust in Magistrala!
