8b185d205b
* feat(docker): add trace ration and max conn This adds a new environment variable `MF_JAEGER_TRACE_RATIO` to the `docker/.env` file. The variable is used to set the ratio of requests traced. Additionally, this commit also adds a new environment variable `MF_POSTGRES_MAX_CONNECTIONS` for configuring the maximum number of connections for the Postgres database. These changes are made to enhance the configuration and scalability of the core services. Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com> * Remove comment to trace ratio Signed-off-by: rodneyosodo <blackd0t@protonmail.com> * Reduce postgres max connection to 100 Signed-off-by: rodneyosodo <blackd0t@protonmail.com> --------- Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com> Signed-off-by: rodneyosodo <blackd0t@protonmail.com> |
||
---|---|---|
.. | ||
addons | ||
brokers | ||
es | ||
nats | ||
nginx | ||
policy | ||
spicedb | ||
ssl | ||
templates | ||
vernemq | ||
.env | ||
Dockerfile | ||
Dockerfile.dev | ||
README.md | ||
docker-compose.yml |
README.md
Docker Composition
Configure environment variables and run Mainflux Docker Composition.
Note*: docker-compose
uses .env
file to set all environment variables. Ensure that you run the command from the same location as .env file.
Installation
Follow the official documentation.
Usage
Run following commands from project root directory.
docker-compose -f docker/docker-compose.yml up
docker-compose -f docker/addons/<path>/docker-compose.yml up
To pull docker images from a specific release you need to change the value of MF_RELEASE_TAG
in .env
before running these commands.