mirror of
https://github.com/mainflux/mainflux.git
synced 2025-05-02 22:17:10 +08:00

* Add separate twins mongodb Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com> * Move twins docker compose file to addons Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com> * Add depends_on to mainflux-twins container Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com> * Remove hard-coded vals from .env Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com> * Add start explanation to README.md Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com> * Bump mongo image to latest version Signed-off-by: Darko Draskovic <darko.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