Recâbler les URLs MLflow/MinIO vers gregoiremureau.com dans les exemples.
Les secrets restent dans Vaultwarden ; la prod k3s utilise déjà les SVC in-cluster.
This commit is contained in:
parent
8cf6586db8
commit
db1305f5c2
4 changed files with 25 additions and 2 deletions
20
.env.example
Normal file
20
.env.example
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
# =============================================================================
|
||||||
|
# Copier vers .env (gitignoré) depuis Vaultwarden : item « P7 .env sentiment-api »
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
# MLflow / MinIO — depuis un poste (Tailscale ou internet)
|
||||||
|
MLFLOW_TRACKING_URI=https://mlflow.gregoiremureau.com
|
||||||
|
MLFLOW_S3_ENDPOINT_URL=https://minio-api.gregoiremureau.com
|
||||||
|
AWS_ACCESS_KEY_ID=minio_access_key
|
||||||
|
AWS_SECRET_ACCESS_KEY=minio_secret_key
|
||||||
|
|
||||||
|
# Prod k3s (déjà en place, ne pas mettre dans ce fichier local) :
|
||||||
|
# MLFLOW_TRACKING_URI=http://mlflow.mlflow.svc.cluster.local:5000
|
||||||
|
# MLFLOW_S3_ENDPOINT_URL=http://minio.mlflow.svc.cluster.local:9000
|
||||||
|
|
||||||
|
SMTP_SERVER=mail.example.com
|
||||||
|
SMTP_PORT=587
|
||||||
|
SMTP_EMAIL=noreply@example.com
|
||||||
|
SMTP_PASSWORD=your_smtp_password
|
||||||
|
SMTP_FROM_ALIAS=noreply@example.com
|
||||||
|
ADMIN_EMAIL=admin@example.com
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -2,6 +2,7 @@
|
||||||
**/downloaded_artifacts
|
**/downloaded_artifacts
|
||||||
**/.env
|
**/.env
|
||||||
**/.env.*
|
**/.env.*
|
||||||
|
!.env.example
|
||||||
**/.pytest_cache
|
**/.pytest_cache
|
||||||
**/__pycache__
|
**/__pycache__
|
||||||
*.pem
|
*.pem
|
||||||
|
|
|
||||||
|
|
@ -144,7 +144,8 @@ Depuis cette modification, le NAS peut exécuter l’API sans erreurs.
|
||||||
|
|
||||||
Le projet propose un **double déploiement** de l’API, en local et dans le cloud :
|
Le projet propose un **double déploiement** de l’API, en local et dans le cloud :
|
||||||
|
|
||||||
- 🏠 **NAS local** : [sentiment-api.greg-madman-nas.duckdns.org](https://sentiment-api.greg-madman-nas.duckdns.org)\
|
- 🏠 **NAS (actuel)** : [api.gregoiremureau.com/ml/sentiment/](https://api.gregoiremureau.com/ml/sentiment/)
|
||||||
|
*(l’ancienne URL DuckDNS `sentiment-api.greg-madman-nas.duckdns.org` redirige.)*
|
||||||
Interface Docker Compose sur le NAS :
|
Interface Docker Compose sur le NAS :
|
||||||

|

|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -146,7 +146,8 @@ Since this change, the NAS can run the API without errors.
|
||||||
|
|
||||||
The project offers a **dual API deployment**, locally and in the cloud:
|
The project offers a **dual API deployment**, locally and in the cloud:
|
||||||
|
|
||||||
- 🏠 **Local NAS**: [sentiment-api.greg-madman-nas.duckdns.org](https://sentiment-api.greg-madman-nas.duckdns.org)
|
- 🏠 **NAS (actuel)** : [api.gregoiremureau.com/ml/sentiment/](https://api.gregoiremureau.com/ml/sentiment/)
|
||||||
|
*(l’ancienne URL DuckDNS `sentiment-api.greg-madman-nas.duckdns.org` redirige.)*
|
||||||
Docker Compose interface on the NAS:
|
Docker Compose interface on the NAS:
|
||||||

|

|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue