feat: pack wordpress con IA nativa de WP 7.1 — fuera Open WebUI (#26)
Co-authored-by: Hermes Agent <hermes@d0a1.es>
This commit was merged in pull request #26.
This commit is contained in:
1 parent
9438b75c9f
commit
b3c2098d10
10 files changed
+144
-71
No files matched your search
+2
-1
@@ -117,7 +117,8 @@ $running = docker ps --format '{{.Names}}' | Select-String -Quiet 'd0a1-hermes-o
|
||||
if (-not $running) {
|
||||
$GpuArgs = @()
|
||||
if ($HasGpu) { $GpuArgs = @('--gpus', 'all') }
|
||||
docker run -d --name d0a1-hermes-ollama --memory 6g --cpus 6.0 @GpuArgs `
|
||||
$CpuCap = [Math]::Min(6, [int]$env:NUMBER_OF_PROCESSORS)
|
||||
docker run -d --name d0a1-hermes-ollama --memory 6g --cpus $CpuCap @GpuArgs `
|
||||
-p "${OllamaPort}:11434" `
|
||||
-v d0a1_hermes_ollama:/root/.ollama `
|
||||
-e OLLAMA_HOST=0.0.0.0 `
|
||||
|
||||
+3
-1
@@ -92,10 +92,12 @@ echo ""
|
||||
# ── 1. Arrancar Ollama (Docker) ──────────────
|
||||
echo -e "${YELLOW}[1/3]${NC} Arrancando Ollama (IA local)..."
|
||||
if ! docker ps --format '{{.Names}}' | grep -q d0a1-hermes-ollama; then
|
||||
CPU_CAP=$(( $(nproc) > 6 ? 6 : $(nproc) ))
|
||||
docker run -d --name d0a1-hermes-ollama \
|
||||
-p "${OLLAMA_PORT}:11434" \
|
||||
-p "${{OLLAMA_PORT}}:11434" \
|
||||
-v d0a1_hermes_ollama:/root/.ollama \
|
||||
-e OLLAMA_HOST=0.0.0.0 \
|
||||
--memory 6g --cpus "$CPU_CAP" \
|
||||
--restart unless-stopped \
|
||||
ollama/ollama:0.33.3
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user