mirror of
https://github.com/mainflux/mainflux.git
synced 2025-04-28 13:48:49 +08:00

* Add MQTT cluster configs Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com> * Bump worker_connections value in nginx.conf Signed-off-by: drasko <drasko.draskovic@gmail.com> * Revert config.toml Signed-off-by: drasko <drasko.draskovic@gmail.com> * Fix cluster Signed-off-by: drasko <drasko.draskovic@gmail.com> * Move non-ssl server into the same directive Signed-off-by: drasko <drasko.draskovic@gmail.com> * Fix cluster Signed-off-by: drasko <drasko.draskovic@gmail.com> * Remove unnecessary comments Signed-off-by: drasko <drasko.draskovic@gmail.com> * Organize docker-compose and nginx conf files Signed-off-by: drasko <drasko.draskovic@gmail.com> * Correct nginx.conf for mTLS and aux changes Signed-off-by: drasko <drasko.draskovic@gmail.com> * Fix NginX conf trailing slash in proxy_pass Signed-off-by: drasko <drasko.draskovic@gmail.com> * Fix path for MQTT Signed-off-by: drasko <drasko.draskovic@gmail.com> * Fix minorstuff in gitignore and comments Signed-off-by: drasko <drasko.draskovic@gmail.com>
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