feat: Docker para CBC con acceso limitado

- Dockerfile minimal con Python 3.11
- docker-compose.yml con volumenes controlados
- .dockerignore para build eficiente
- Script de inicio start.sh
- .env.example para configuración

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
renato97
2026-02-25 17:44:09 +00:00
parent d50772d962
commit a7726365d7
6 changed files with 129 additions and 0 deletions

20
docker/start.sh Executable file
View File

@@ -0,0 +1,20 @@
#!/bin/bash
# CBC OpenClaw - Script de inicio Docker
set -e
# Cargar variables de entorno si existe .env
if [ -f ".env" ]; then
export $(cat .env | grep -v '^#' | xargs)
fi
echo "🟢 Iniciando CBC OpenClaw..."
# Construir imagen si no existe
docker compose -f docker/docker-compose.yml build
# Iniciar contenedor
docker compose -f docker/docker-compose.yml up -d
echo "✅ CBC OpenClaw corriendo en http://localhost:5000"
echo "📝 Ver logs: docker compose -f docker/docker-compose.yml logs -f"