Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 62a96bfb6e | |||
| d16adb25b0 |
@@ -23,14 +23,6 @@ jobs:
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Debug token length
|
||||
run: |
|
||||
echo "Token length: ${#TOKEN}"
|
||||
echo "First char code: $(printf '%d' "'${TOKEN:0:1}")"
|
||||
echo "Last char code: $(printf '%d' "'${TOKEN: -1}")"
|
||||
env:
|
||||
TOKEN: ${{ secrets.DOCKER_PAT }}
|
||||
|
||||
- name: Login to Gitea Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
@@ -48,5 +40,5 @@ jobs:
|
||||
context: ./${{ matrix.component }}
|
||||
push: true
|
||||
tags: |
|
||||
${{ env.REGISTRY }}/loremindmj/${{ matrix.component }}:latest
|
||||
${{ env.REGISTRY }}/loremindmj/${{ matrix.component }}:${{ steps.meta.outputs.version }}
|
||||
${{ env.REGISTRY }}/${{ env.REGISTRY_USER }}/${{ matrix.component }}:latest
|
||||
${{ env.REGISTRY }}/${{ env.REGISTRY_USER }}/${{ matrix.component }}:${{ steps.meta.outputs.version }}
|
||||
|
||||
5
.gitignore
vendored
5
.gitignore
vendored
@@ -47,6 +47,5 @@ brain/.env.example
|
||||
# Variables d'environnement runtime (prod)
|
||||
.env
|
||||
|
||||
# Override compose local (optionnel - un dev peut avoir le sien)
|
||||
# Retire cette ligne si tu veux committer l'override par defaut du repo.
|
||||
# docker-compose.override.yml
|
||||
# Override compose local (dev uniquement, ne pas distribuer aux end users)
|
||||
docker-compose.override.yml
|
||||
|
||||
36
README.md
36
README.md
@@ -44,31 +44,25 @@ Le Backend Core respecte strictement :
|
||||
- **Application** : Orchestration des flux (Use Cases)
|
||||
- **Infrastructure** : Implémentation technique (Adapters)
|
||||
|
||||
## Installation rapide avec Docker
|
||||
## Installation
|
||||
|
||||
### Prérequis
|
||||
- Docker et Docker Compose installés
|
||||
Pour installer LoreMind chez vous (Docker requis), suivez le guide **[INSTALL.md](INSTALL.md)** — 3 étapes, 5 minutes chrono :
|
||||
|
||||
### Démarrage
|
||||
1. Télécharger `docker-compose.yml` + `.env.example` depuis la [dernière release](https://git.igmlcreation.fr/ietm64/LoreMindMJ/releases)
|
||||
2. Renommer `.env.example` → `.env` et changer `POSTGRES_PASSWORD`
|
||||
3. `docker compose up -d` → ouvrir http://localhost:8081
|
||||
|
||||
Mise à jour : `docker compose pull && docker compose up -d`.
|
||||
|
||||
## Développement (contributeurs)
|
||||
|
||||
Pour builder les images localement depuis les sources :
|
||||
|
||||
```bash
|
||||
# Clone du repository
|
||||
git clone https://ton-gitea.com/ton-user/LoreMind.git
|
||||
cd LoreMind
|
||||
|
||||
# Lancement de tous les services
|
||||
docker-compose up -d
|
||||
|
||||
# L'application est accessible sur :
|
||||
# - Frontend : http://localhost:4200
|
||||
# - Backend Core : http://localhost:8080
|
||||
# - Backend IA : http://localhost:8000
|
||||
```
|
||||
|
||||
### Arrêt
|
||||
|
||||
```bash
|
||||
docker-compose down
|
||||
git clone https://git.igmlcreation.fr/ietm64/LoreMindMJ.git
|
||||
cd LoreMindMJ
|
||||
# Créer un docker-compose.override.yml local (voir docs de contrib)
|
||||
docker compose up -d --build
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
@@ -55,7 +55,7 @@ services:
|
||||
"
|
||||
|
||||
core:
|
||||
image: ${REGISTRY:-gitea.example.com}/loremindmj/core:${TAG:-latest}
|
||||
image: ${REGISTRY:-gitea.example.com}/ietm64/core:${TAG:-latest}
|
||||
container_name: loremind-core
|
||||
depends_on:
|
||||
postgres:
|
||||
@@ -74,7 +74,7 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
brain:
|
||||
image: ${REGISTRY:-gitea.example.com}/loremindmj/brain:${TAG:-latest}
|
||||
image: ${REGISTRY:-gitea.example.com}/ietm64/brain:${TAG:-latest}
|
||||
container_name: loremind-brain
|
||||
environment:
|
||||
LLM_PROVIDER: ${LLM_PROVIDER:-ollama}
|
||||
@@ -91,7 +91,7 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
web:
|
||||
image: ${REGISTRY:-gitea.example.com}/loremindmj/web:${TAG:-latest}
|
||||
image: ${REGISTRY:-gitea.example.com}/ietm64/web:${TAG:-latest}
|
||||
container_name: loremind-web
|
||||
depends_on:
|
||||
- core
|
||||
|
||||
Reference in New Issue
Block a user