fetch_ml/docker-compose.homelab-secure-simple.yml
Jeremie Fraeys cd5640ebd2 Slim and secure: move scripts, clean configs, remove secrets
- Move ci-test.sh and setup.sh to scripts/
- Trim docs/src/zig-cli.md to current structure
- Replace hardcoded secrets with placeholders in configs
- Update .gitignore to block .env*, secrets/, keys, build artifacts
- Slim README.md to reflect current CLI/TUI split
- Add cleanup trap to ci-test.sh
- Ensure no secrets are committed
2025-12-07 13:57:51 -05:00

28 lines
794 B
YAML

# Simple Secure Homelab Override
# Use with: docker-compose -f docker-compose.yml -f docker-compose.homelab-secure-simple.yml up -d
services:
api-server:
build:
context: .
dockerfile: build/docker/test.Dockerfile
volumes:
- ./data:/data/experiments
- ./logs:/logs
- ./configs/environments/config-homelab-secure.yaml:/app/configs/config.yaml:ro
- ./ssl:/app/ssl:ro
environment:
- REDIS_URL=redis://redis:6379
- REDIS_PASSWORD=your-redis-password
- LOG_LEVEL=info
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9101/health"]
redis:
command: redis-server --appendonly yes
volumes:
- redis_data:/data
ports:
- "6379:6379"
healthcheck:
test: ["CMD", "redis-cli", "ping"]