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
@@ -5,7 +5,7 @@
|
||||
# VPS: ./deploy.sh vps → http://TU_IP:8080
|
||||
#
|
||||
# Requisitos: Docker + 6 GB RAM mínimo
|
||||
# Incluye: WordPress + MariaDB + Ollama + Open WebUI
|
||||
# Incluye: WordPress + MariaDB + Ollama (IA local) + plugins IA (AI + AI Provider for Ollama)
|
||||
services:
|
||||
db:
|
||||
container_name: d0a1-wp-db
|
||||
@@ -46,8 +46,9 @@ services:
|
||||
container_name: d0a1-wp-ollama
|
||||
image: ollama/ollama:0.33.3
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "127.0.0.1:${OLLAMA_PORT:-11434}:11434"
|
||||
# Sin publicar puerto: solo lo usa WordPress (red interna del compose).
|
||||
expose:
|
||||
- "11434"
|
||||
volumes:
|
||||
- ollama_data:/root/.ollama
|
||||
environment:
|
||||
@@ -63,30 +64,7 @@ services:
|
||||
resources:
|
||||
limits:
|
||||
memory: 6G
|
||||
cpus: "6.0"
|
||||
|
||||
openwebui:
|
||||
container_name: d0a1-wp-openwebui
|
||||
image: ghcr.io/open-webui/open-webui:0.11.3
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${WEBUI_PORT:-3000}:8080"
|
||||
volumes:
|
||||
- openwebui_data:/app/backend/data
|
||||
environment:
|
||||
OLLAMA_BASE_URL: "http://ollama:11434"
|
||||
WEBUI_NAME: "d0a1"
|
||||
WEBUI_AUTH: "false"
|
||||
DEFAULT_LOCALE: "es"
|
||||
CHAT_RESPONSE_MAX_TOOL_CALL_ITERATIONS: "1"
|
||||
DEFAULT_MODEL_PARAMS: '{"function_calling": "legacy", "think": false}'
|
||||
depends_on:
|
||||
ollama:
|
||||
condition: service_healthy
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 2G
|
||||
cpus: "${OLLAMA_CPUS:-6.0}"
|
||||
|
||||
volumes:
|
||||
wp_db:
|
||||
@@ -94,6 +72,4 @@ volumes:
|
||||
wp_data:
|
||||
driver: local
|
||||
ollama_data:
|
||||
driver: local
|
||||
openwebui_data:
|
||||
driver: local
|
||||
Reference in new issue
Block a user