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:
20
docker/start.sh
Executable file
20
docker/start.sh
Executable 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"
|
||||
Reference in New Issue
Block a user