https://github.com/ging/fiware-mlops-supermarket
https://github.com/ging/fiware-mlops-supermarket
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ging/fiware-mlops-supermarket
- Owner: ging
- Created: 2023-06-10T20:09:25.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-04T17:03:34.000Z (about 2 years ago)
- Last Synced: 2025-05-07T21:05:15.891Z (about 1 year ago)
- Language: JavaScript
- Size: 110 MB
- Stars: 5
- Watchers: 9
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FIWARE Machine Learning and MLOps - Supermarket example
Create Docker Network
```
docker network create fiware
```
First time:
```
docker compose -f docker-compose.maven.yml up -d
```
Start base infraestructure
```
docker compose up -d
```
```
cd airflow
docker compose up -d
```
## With Airflow as orchestrator
- Access http://localhost:5000 to access MLFlow client
- Access http://localhost:3000 to watch the web
- Access http://localhost:8081 to access the Spark Cluster UI client
- Access http://localhost:8080 to access the Airflow Web UI (user: airflow, password: airflow)
Run airflow flows from the web (first training then predicting)
## Without Airflow as orchestrator
Start training job
```
docker compose -f docker-compose.submit_train.yml up -d
```
Start prediction job
```
docker compose -f docker-compose.submit_predict.yml up -d
```
Train again
Start training job
```
docker compose -f docker-compose.submit_train.yml up -d
```