Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 62a96bfb6e | |||
| d16adb25b0 |
@@ -23,14 +23,6 @@ jobs:
|
|||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
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
|
- name: Login to Gitea Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
@@ -48,5 +40,5 @@ jobs:
|
|||||||
context: ./${{ matrix.component }}
|
context: ./${{ matrix.component }}
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
${{ env.REGISTRY }}/loremindmj/${{ matrix.component }}:latest
|
${{ env.REGISTRY }}/${{ env.REGISTRY_USER }}/${{ matrix.component }}:latest
|
||||||
${{ env.REGISTRY }}/loremindmj/${{ matrix.component }}:${{ steps.meta.outputs.version }}
|
${{ 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)
|
# Variables d'environnement runtime (prod)
|
||||||
.env
|
.env
|
||||||
|
|
||||||
# Override compose local (optionnel - un dev peut avoir le sien)
|
# Override compose local (dev uniquement, ne pas distribuer aux end users)
|
||||||
# Retire cette ligne si tu veux committer l'override par defaut du repo.
|
docker-compose.override.yml
|
||||||
# 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)
|
- **Application** : Orchestration des flux (Use Cases)
|
||||||
- **Infrastructure** : Implémentation technique (Adapters)
|
- **Infrastructure** : Implémentation technique (Adapters)
|
||||||
|
|
||||||
## Installation rapide avec Docker
|
## Installation
|
||||||
|
|
||||||
### Prérequis
|
Pour installer LoreMind chez vous (Docker requis), suivez le guide **[INSTALL.md](INSTALL.md)** — 3 étapes, 5 minutes chrono :
|
||||||
- Docker et Docker Compose installés
|
|
||||||
|
|
||||||
### 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
|
```bash
|
||||||
# Clone du repository
|
git clone https://git.igmlcreation.fr/ietm64/LoreMindMJ.git
|
||||||
git clone https://ton-gitea.com/ton-user/LoreMind.git
|
cd LoreMindMJ
|
||||||
cd LoreMind
|
# Créer un docker-compose.override.yml local (voir docs de contrib)
|
||||||
|
docker compose up -d --build
|
||||||
# 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
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ services:
|
|||||||
"
|
"
|
||||||
|
|
||||||
core:
|
core:
|
||||||
image: ${REGISTRY:-gitea.example.com}/loremindmj/core:${TAG:-latest}
|
image: ${REGISTRY:-gitea.example.com}/ietm64/core:${TAG:-latest}
|
||||||
container_name: loremind-core
|
container_name: loremind-core
|
||||||
depends_on:
|
depends_on:
|
||||||
postgres:
|
postgres:
|
||||||
@@ -74,7 +74,7 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
brain:
|
brain:
|
||||||
image: ${REGISTRY:-gitea.example.com}/loremindmj/brain:${TAG:-latest}
|
image: ${REGISTRY:-gitea.example.com}/ietm64/brain:${TAG:-latest}
|
||||||
container_name: loremind-brain
|
container_name: loremind-brain
|
||||||
environment:
|
environment:
|
||||||
LLM_PROVIDER: ${LLM_PROVIDER:-ollama}
|
LLM_PROVIDER: ${LLM_PROVIDER:-ollama}
|
||||||
@@ -91,7 +91,7 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
web:
|
web:
|
||||||
image: ${REGISTRY:-gitea.example.com}/loremindmj/web:${TAG:-latest}
|
image: ${REGISTRY:-gitea.example.com}/ietm64/web:${TAG:-latest}
|
||||||
container_name: loremind-web
|
container_name: loremind-web
|
||||||
depends_on:
|
depends_on:
|
||||||
- core
|
- core
|
||||||
|
|||||||
Reference in New Issue
Block a user