Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cf6ba1d32b | ||
|
|
938ca2b268 |
No files matched your search
+1
-1
@@ -101,7 +101,7 @@ Write-Host ''
|
|||||||
Warn '[1/3] Arrancando Ollama (IA local)...'
|
Warn '[1/3] Arrancando Ollama (IA local)...'
|
||||||
$running = docker ps --format '{{.Names}}' | Select-String -Quiet 'd0a1-hermes-ollama'
|
$running = docker ps --format '{{.Names}}' | Select-String -Quiet 'd0a1-hermes-ollama'
|
||||||
if (-not $running) {
|
if (-not $running) {
|
||||||
docker run -d --name d0a1-hermes-ollama `
|
docker run -d --name d0a1-hermes-ollama --memory 6g `
|
||||||
-p "${OllamaPort}:11434" `
|
-p "${OllamaPort}:11434" `
|
||||||
-v d0a1_hermes_ollama:/root/.ollama `
|
-v d0a1_hermes_ollama:/root/.ollama `
|
||||||
-e OLLAMA_HOST=0.0.0.0 `
|
-e OLLAMA_HOST=0.0.0.0 `
|
||||||
|
|||||||
+1
-1
@@ -101,7 +101,7 @@ Write-Host ''
|
|||||||
Warn '[1/3] Arrancando Ollama (IA local)...'
|
Warn '[1/3] Arrancando Ollama (IA local)...'
|
||||||
$running = docker ps --format '{{.Names}}' | Select-String -Quiet 'd0a1-openclaw-ollama'
|
$running = docker ps --format '{{.Names}}' | Select-String -Quiet 'd0a1-openclaw-ollama'
|
||||||
if (-not $running) {
|
if (-not $running) {
|
||||||
docker run -d --name d0a1-openclaw-ollama `
|
docker run -d --name d0a1-openclaw-ollama --memory 6g `
|
||||||
-p "${OllamaPort}:11434" `
|
-p "${OllamaPort}:11434" `
|
||||||
-v d0a1_openclaw_ollama:/root/.ollama `
|
-v d0a1_openclaw_ollama:/root/.ollama `
|
||||||
-e OLLAMA_HOST=0.0.0.0 `
|
-e OLLAMA_HOST=0.0.0.0 `
|
||||||
|
|||||||
@@ -128,7 +128,7 @@ docker compose -f $ComposeFile up -d
|
|||||||
if ($LASTEXITCODE -ne 0) { Err "docker compose up fallo (exit $LASTEXITCODE)."; exit 1 }
|
if ($LASTEXITCODE -ne 0) { Err "docker compose up fallo (exit $LASTEXITCODE)."; exit 1 }
|
||||||
|
|
||||||
# --- Pull model -------------------------------------------------------------
|
# --- Pull model -------------------------------------------------------------
|
||||||
Warn 'Descargando modelo de IA (llama3.2:3b, ~2 GB)...'
|
Info 'Esperando a que Ollama arranque...'
|
||||||
$MaxWait = 60; $Waited = 0
|
$MaxWait = 60; $Waited = 0
|
||||||
while ($true) {
|
while ($true) {
|
||||||
# Descarte de stderr via cmd /c (ver nota de PS 5.1 / PS #4002 arriba)
|
# Descarte de stderr via cmd /c (ver nota de PS 5.1 / PS #4002 arriba)
|
||||||
|
|||||||
@@ -26,6 +26,10 @@ services:
|
|||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 10
|
retries: 10
|
||||||
start_period: 30s
|
start_period: 30s
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 6G
|
||||||
|
|
||||||
openwebui:
|
openwebui:
|
||||||
container_name: d0a1-openwebui
|
container_name: d0a1-openwebui
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ docker compose -f $ComposeFile up -d
|
|||||||
if ($LASTEXITCODE -ne 0) { Err "docker compose up fallo (exit $LASTEXITCODE)."; exit 1 }
|
if ($LASTEXITCODE -ne 0) { Err "docker compose up fallo (exit $LASTEXITCODE)."; exit 1 }
|
||||||
|
|
||||||
# --- Pull model -------------------------------------------------------------
|
# --- Pull model -------------------------------------------------------------
|
||||||
Warn 'Descargando modelo de IA (llama3.2:3b, ~2 GB)...'
|
Info 'Esperando a que Ollama arranque...'
|
||||||
$MaxWait = 60; $Waited = 0
|
$MaxWait = 60; $Waited = 0
|
||||||
while ($true) {
|
while ($true) {
|
||||||
# Descarte de stderr via cmd /c (ver nota de PS 5.1 / PS #4002 arriba)
|
# Descarte de stderr via cmd /c (ver nota de PS 5.1 / PS #4002 arriba)
|
||||||
|
|||||||
@@ -59,6 +59,10 @@ services:
|
|||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 10
|
retries: 10
|
||||||
start_period: 30s
|
start_period: 30s
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 6G
|
||||||
|
|
||||||
openwebui:
|
openwebui:
|
||||||
container_name: d0a1-wp-openwebui
|
container_name: d0a1-wp-openwebui
|
||||||
|
|||||||
Reference in new issue
Block a user