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

25 lines
663 B
Markdown
Raw Normal View History

# 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](https://docs.docker.com/compose/install/).
## 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.