This repository sets up a development environment using Docker with the following services:
- MinIO (Storage)
- PostgreSQL (Database)
- MLflow (Experimentation)
- Docker
- Docker Compose
Ensure to define the following environment variables in a .env file:
AWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEYPOSTGRES_USERPOSTGRES_PASSWORDPOSTGRES_DATABASEMLFLOW_S3_ENDPOINT_URLAWS_BUCKET_NAME
Example .env file:
AWS_ACCESS_KEY_ID=your_access_key
AWS_SECRET_ACCESS_KEY=your_secret_key
POSTGRES_USER=your_postgres_user
POSTGRES_PASSWORD=your_postgres_password
POSTGRES_DATABASE=your_postgres_database
MLFLOW_S3_ENDPOINT_URL=http://minio:9000
AWS_BUCKET_NAME=your_bucket_nameStart Services
To start the services, run:
make startThis command will:
-
Start the services defined in docker-compose.yml.
-
Execute the script export_mlflow_env.sh to load and export the environment variables temporarily.
Stop Services
To stop the service run:
make docker-down