Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 62a96bfb6e | |||
| d16adb25b0 | |||
| 9189506e9b | |||
| 0d1c34d1f8 | |||
| ca1bc2b573 |
@@ -5,6 +5,10 @@ on:
|
|||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- 'v*'
|
||||||
|
|
||||||
|
env:
|
||||||
|
REGISTRY: git.igmlcreation.fr
|
||||||
|
REGISTRY_USER: ietm64
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -22,9 +26,9 @@ jobs:
|
|||||||
- name: Login to Gitea Registry
|
- name: Login to Gitea Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ${{ vars.REGISTRY_URL }}
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ vars.REGISTRY_USER }}
|
username: ${{ env.REGISTRY_USER }}
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
password: ${{ secrets.DOCKER_PAT }}
|
||||||
|
|
||||||
- name: Extract version
|
- name: Extract version
|
||||||
id: meta
|
id: meta
|
||||||
@@ -36,5 +40,5 @@ jobs:
|
|||||||
context: ./${{ matrix.component }}
|
context: ./${{ matrix.component }}
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
${{ vars.REGISTRY_URL }}/loremindmj/${{ matrix.component }}:latest
|
${{ env.REGISTRY }}/${{ env.REGISTRY_USER }}/${{ matrix.component }}:latest
|
||||||
${{ vars.REGISTRY_URL }}/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