Add autocomplete status check and restructure test environments
CI / lint (push) Failing after 26s
CI / test (push) Has been skipped
CI / build (push) Has been skipped
CI / e2e (push) Has been skipped
CI / security (push) Failing after 10s

Add Ollama autocomplete status endpoint to AI routes, update sync panel
UI to display autocomplete state, replace monolithic test compose files
with separate Linux/Windows variants, and add PowerShell build script
for Windows deployment
This commit is contained in:
2026-06-18 09:40:09 -04:00
parent 8acfd1f19a
commit daab917ed1
10 changed files with 460 additions and 137 deletions
+55
View File
@@ -0,0 +1,55 @@
# =============================================================================
# ObsiGate — Environnement de TEST Windows (Docker Desktop)
# =============================================================================
# Utilisé par : build.sh --test-win | build.ps1 -Test
# Ports : 2020 (app), 11434 (Ollama)
# Vaults : chemins Windows via Docker Desktop (/c/dev/git/...)
# Auth : activé, admin / test123
# NOTE : Pas de user: "1000:1000" → tourne en root (évite les problèmes
# de permissions NTFS sur les volumes bind-mount Windows)
# =============================================================================
services:
obsigate:
build:
context: .
image: obsigate:latest
container_name: obsigate-test
restart: unless-stopped
ports:
- "2020:8080"
volumes:
- /c/dev/git/python/ObsiGate/test_vault:/vaults/TestVault
- /c/dev/git/python/ObsiGate/test_dir:/vaults/TestDir
- obsigate_data:/app/data
environment:
- VAULT_1_NAME=TestVault
- VAULT_1_PATH=/vaults/TestVault
- DIR_1_NAME=TestDir
- DIR_1_PATH=/vaults/TestDir
- OBSIGATE_AUTH_ENABLED=true
- OBSIGATE_ADMIN_USER=admin
- OBSIGATE_ADMIN_PASSWORD=test123
- AI_DEFAULT_PROVIDER=deepseek
- OLLAMA_BASE_URL=http://ollama:11434/v1
- OLLAMA_MODEL=qwen2.5-coder:1.5b
ollama:
image: ollama/ollama:latest
container_name: obsigate-test-ollama
restart: unless-stopped
ports:
- "11434:11434"
volumes:
- ollama_data:/root/.ollama
entrypoint: ["/bin/sh", "-c"]
command:
- |
ollama serve &
sleep 5
ollama pull qwen2.5-coder:1.5b
wait
volumes:
ollama_data:
obsigate_data: