Commit Graph

22 Commits

Author SHA1 Message Date
Bastian de Byl 7d4a398bba Drop self-hosted AI (Ollama + SearXNG); gregtime switches to xAI Grok
The Ollama role and SearXNG container backed FISTO AI responses in the
greg-time Discord bot. greg-time 3.9.6 drops both (plus the Gemini path)
in favor of a single xAI Grok backend, so:

- remove the ollama role and its wiring in deploy_home.yml
- remove the searxng container task, template, and searxng_path default
- gregtime: swap OLLAMA_*/SEARXNG_URL/GEMINI_API_KEY env for XAI_API_KEY,
  bump image 3.6.5 -> 3.9.6
- vault: add xai_api_key, drop gemini_api_key

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-14 10:19:45 -04:00
Bastian de Byl 495943b837 feat: add ollama and searxng, migrate to debyl.io hostname
- Add ollama role for local LLM inference (install, service, models)
- Add searxng container for private search
- Migrate hostname from home.bdebyl.net to home.debyl.io
  (inventory, awsddns, zomboid entrypoint, home_server_name)
- Update vault with new secrets

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 15:13:25 -05:00
Bastian de Byl 34b45853e2 graylog updates, test.debyl.io, scripts for reference 2026-01-13 16:08:38 -05:00
Bastian de Byl 9c9da4f47c Complete infrastructure migration from nginx + ModSecurity to Caddy
This commit finalizes the comprehensive migration from nginx + ModSecurity + manual LetsEncrypt
to Caddy v2 with automatic HTTPS. The migration eliminates over 2000 lines of complex
configuration in favor of a single, simplified Caddyfile.

## Major Changes:

### Infrastructure Transformation
- **Web Server**: Replaced nginx with Caddy v2 for automatic HTTPS and simplified configuration
- **SSL/TLS**: Removed manual LetsEncrypt management, now fully automated by Caddy
- **Security**: Replaced ModSecurity WAF with Caddy's built-in security features
- **CI/CD**: Decommissioned Drone CI infrastructure completely

### Configuration Simplification
- **Before**: 20+ nginx site configs, ModSecurity rules, LetsEncrypt cron jobs
- **After**: Single Caddyfile with automatic HTTPS, security headers, and IP restrictions
- **Reduction**: 75% less configuration code while maintaining all functionality

### Files Added
- Caddy container deployment and configuration tasks
- Single Caddyfile template replacing all nginx configs
- Updated documentation (CLAUDE.md, TODO.md)

### Files Removed
- Complete nginx role and all site configurations (24 files)
- SSL role with LetsEncrypt management (6 files)
- Drone CI infrastructure (1 file)
- nginx static files and ModSecurity includes (2 files)

## Verified Functionality
All websites confirmed working with HTTPS certificates automatically provisioned:
- photos.bdebyl.net, parts.bdebyl.net, cloud.bdebyl.net
- wiki.skudakrennsport.com, cloud.skudakrennsport.com
- fulfillr.debyltech.com (with IP restrictions)
- Proper security headers and WebSocket support

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-11 20:38:45 -04:00
Bastian de Byl 184cd2574d noticket - reorganized podman 2024-02-01 15:35:11 -05:00
Bastian de Byl 27942f9178 noticket - version bumps and github actions runner 2023-11-14 15:54:57 -05:00
Bastian de Byl 99a41d2a74 added photopsirm cloud and other fixes 2022-09-28 00:49:14 -04:00
Bastian de Byl c5bc5a91ac moved nginx, graylog to podman 2022-05-01 03:31:16 -04:00
Bastian de Byl 8e373896a6 moved drone to podman 2022-04-30 15:05:46 -04:00
Bastian de Byl cb2001357f moved ddns, partkeepr, hass to podman, selinux 2022-04-30 03:44:55 -04:00
Bastian de Byl 2360c82f98 CU-251akbj added graylog and additional fixes from discovered logs 2022-04-18 03:15:52 -04:00
Bastian de Byl 78f8ce2c6f ansible lint additions, .yamllint.yml configuratuion 2022-04-12 01:43:26 -04:00
Bastian de Byl 3dc083c0f0 added home-assistant container 2022-04-04 20:26:45 -04:00
Bastian de Byl d197909c05 updates for pihole, http site, venv requirements 2022-04-02 21:01:42 -04:00
Bastian de Byl cc834df161 added partkeepr, motion, and relevant secrets 2021-11-28 16:38:52 -05:00
Bastian de Byl 265f3b859e CU-1newj99 Added motion camera deployment to home server 2021-10-02 17:01:42 -04:00
Bastian de Byl 76cd39b449 CU-1gexut1 Added NFS and Samba storage to home server 2021-09-12 19:21:28 -04:00
Bastian de Byl aea7310f33 CU-eprjdn added git server role 2020-10-20 22:14:16 -04:00
Bastian de Byl 39e73892ff CU-cwkarb added aws ddns updater to ansible 2020-10-20 19:58:52 -04:00
Bastian de Byl 137ddaca97 CU-cunmht split ssl from http role to separate role 2020-09-29 21:40:01 -04:00
Bastian de Byl 53f2868916 Implemented working version of drone w/nginx https 2020-09-24 22:52:33 -04:00
Bastian de Byl e0abdbe506 Initial working commit 2020-09-24 21:06:56 -04:00