Following book Bootstrapping Microservices with Docker, Kubernetes and Terraform
Set the following environment variables locally
Variable | Description | Value |
---|---|---|
DB_USER | MongoDB username | root |
DB_PASSWORD | MongoDB password | null |
STORAGE_KEY | MinIO username | admin |
STORAGE_SECRET | MinIO password | null |
Modify the docker-compose.yaml
with desired credentials for minio bucket storage.
- Start services
$ docker-compose up --build
- Visit minio service to create a bucket
http://localhost:9090/
- Upload video file in bucket
Visit http://localhost:4000
- Minio will store files locally by default at
$PWD/data/object
- MongoDB will store data files locally at
$PWD/data/mongo
MinIO
MongoDB
RabbitMQ