AI-powered Docker assistant — detects your stack, generates Dockerfile & compose, debugs containers.
Project description
devai
AI-powered Docker assistant. No config needed.
devai analyse ton projet, génère le Dockerfile et le docker-compose, et debug tes containers avec l'IA — le tout en une commande.
Installation
pip install stackai-cli
Requiert Ollama installé et
ollama pull llama3pour le mode debug AI.
Utilisation
devai init — Générer les fichiers Docker
cd mon-projet
stackai init
🔍 Analyse du projet...
✅ Stack détectée : python / fastapi + postgres + redis
⚙️ Génération des fichiers Docker...
✅ Dockerfile créé
✅ .dockerignore créé
✅ docker-compose.yaml créé
🚀 Prêt ! Lance avec : docker compose up -d
devai scan — Voir la stack sans rien générer
stackai scan
📦 Stack détectée :
Langage : python
Framework : fastapi
Port : 8000
Services : postgres, redis
Python ver. : 3.11
devai debug — Analyser un container en erreur
stackai debug mon-container
📋 Derniers logs :
─────────────────────────────────────────
Error: could not connect to postgres...
─────────────────────────────────────────
🤖 Analyse IA en cours...
💡 Analyse :
1. PROBLÈME : L'application ne peut pas se connecter à PostgreSQL
2. CAUSE : Le container postgres n'est pas encore prêt au démarrage de l'app
3. FIX : Ajoute `depends_on: [postgres]` dans ton docker-compose.yaml
Stacks supportées
| Langage | Frameworks détectés |
|---|---|
| Python | FastAPI, Flask, Django, générique |
| Node.js | Express, Next.js, Nuxt.js, React |
| Java | Spring Boot (Maven/Gradle) |
| Go | générique |
Services auto-détectés
postgres · redis · mongodb · mysql · elasticsearch
Prérequis
- Python 3.10+
- Docker installé
- Ollama +
ollama pull llama3(pourdevai debug)
Licence
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stackai_cli-0.1.0.tar.gz.
File metadata
- Download URL: stackai_cli-0.1.0.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53682c7de923cafea8a079b5a30e6357d2cf735cecc3efb3d5db5dc6109f10d1
|
|
| MD5 |
ac7a71c7bcfd08cb924ba7d2c96942b2
|
|
| BLAKE2b-256 |
0ec9f25a477020b1895abed0024bbb3cea1520dac377f662fd4a723709e9cb70
|
Provenance
The following attestation bundles were made for stackai_cli-0.1.0.tar.gz:
Publisher:
publish.yml on MehdiB7/devai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stackai_cli-0.1.0.tar.gz -
Subject digest:
53682c7de923cafea8a079b5a30e6357d2cf735cecc3efb3d5db5dc6109f10d1 - Sigstore transparency entry: 1694034886
- Sigstore integration time:
-
Permalink:
MehdiB7/devai@01bb75deea1fe4b06290d1930b80df6f61a908fc -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/MehdiB7
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@01bb75deea1fe4b06290d1930b80df6f61a908fc -
Trigger Event:
push
-
Statement type:
File details
Details for the file stackai_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: stackai_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83f1e2bb66b7f2776af5854fa129571b1b009f3b387aac235148ad8e14ee94dd
|
|
| MD5 |
11802d14ea2c0586dc46b1bebc1c3a9a
|
|
| BLAKE2b-256 |
6acfbbafd8b3be5c9ba7e4e332259d23ab63a44ec8d1ed6cc0892ca915dd89c9
|
Provenance
The following attestation bundles were made for stackai_cli-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on MehdiB7/devai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stackai_cli-0.1.0-py3-none-any.whl -
Subject digest:
83f1e2bb66b7f2776af5854fa129571b1b009f3b387aac235148ad8e14ee94dd - Sigstore transparency entry: 1694034934
- Sigstore integration time:
-
Permalink:
MehdiB7/devai@01bb75deea1fe4b06290d1930b80df6f61a908fc -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/MehdiB7
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@01bb75deea1fe4b06290d1930b80df6f61a908fc -
Trigger Event:
push
-
Statement type: