Initial commit: 4 deploy packs (Open WebUI, WordPress, Hermes Agent, OpenClaw)

This commit is contained in:
devops
2026-08-07 23:51:57 +02:00
commit cebeaa5069
10 changed files with 851 additions and 0 deletions
+92
View File
@@ -0,0 +1,92 @@
# d0a1 pack — WordPress Agéntico
# Tu WordPress con IA local conectada. Posts SEO, moderación, backups — automatizado.
#
# Local: ./deploy.sh local → http://localhost:8080
# VPS: ./deploy.sh vps → http://TU_IP:8080
#
# Requisitos: Docker + 6 GB RAM mínimo
# Incluye: WordPress + MariaDB + Ollama + Open WebUI
services:
db:
container_name: d0a1-wp-db
image: mariadb:11.4
restart: unless-stopped
volumes:
- wp_db:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD:-d0a1root}
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: ${MYSQL_PASSWORD:-d0a1pass}
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
interval: 15s
timeout: 5s
retries: 10
start_period: 20s
wordpress:
container_name: d0a1-wp
image: wordpress:6.9-php8.3-apache
restart: unless-stopped
ports:
- "8080:80"
volumes:
- wp_data:/var/www/html
environment:
WORDPRESS_DB_HOST: db:3306
WORDPRESS_DB_NAME: wordpress
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: ${MYSQL_PASSWORD:-d0a1pass}
depends_on:
db:
condition: service_healthy
ollama:
container_name: d0a1-wp-ollama
image: ollama/ollama:0.30.8
restart: unless-stopped
ports:
- "127.0.0.1:11434:11434"
volumes:
- ollama_data:/root/.ollama
environment:
OLLAMA_HOST: "0.0.0.0"
OLLAMA_KEEP_ALIVE: "5m"
healthcheck:
test: ["CMD", "ollama", "ps"]
interval: 15s
timeout: 5s
retries: 10
start_period: 30s
openwebui:
container_name: d0a1-wp-openwebui
image: ghcr.io/open-webui/open-webui:0.6.15
restart: unless-stopped
ports:
- "3000:8080"
volumes:
- openwebui_data:/app/backend/data
environment:
OLLAMA_BASE_URL: "http://ollama:11434"
WEBUI_NAME: "d0a1"
WEBUI_AUTH: "false"
DEFAULT_LOCALE: "es"
depends_on:
ollama:
condition: service_healthy
deploy:
resources:
limits:
memory: 2G
volumes:
wp_db:
driver: local
wp_data:
driver: local
ollama_data:
driver: local
openwebui_data:
driver: local