543 lines
5.9 KiB
Markdown
543 lines
5.9 KiB
Markdown
# `/context/current-environment.md`
|
|
|
|
# Current Environment
|
|
|
|
Last Updated: 2026-06-01
|
|
|
|
This file describes the current live RDB Solutions infrastructure.
|
|
|
|
Update whenever hardware, VMs, services, networking, or development tooling changes.
|
|
|
|
---
|
|
|
|
# Network Overview
|
|
|
|
## Primary Site
|
|
|
|
Location:
|
|
|
|
- <Office/Home Lab>
|
|
|
|
Internet:
|
|
|
|
- ISP: Lightening Fibre
|
|
- Download: 2.5 Gbps
|
|
- Router: Zyxel EX5601-T0
|
|
- Internal Wifi Extender: Deco
|
|
- Static IP: 212.221.168.135
|
|
|
|
Domain(s):
|
|
|
|
- rdbsolutions.co.uk
|
|
- gitea.rdbcloud.co.uk
|
|
- prox.rdbcloud.co.uk
|
|
- pedw.rdbcloud.co.uk
|
|
|
|
Internal Network:
|
|
|
|
```text
|
|
LAN: 192.168.x.0/24
|
|
Gateway: 192.168.x.1
|
|
DNS: AdGuard
|
|
DHCP: <device>
|
|
```
|
|
|
|
---
|
|
|
|
# Physical Infrastructure
|
|
|
|
## Proxmox Host
|
|
|
|
Hostname:
|
|
|
|
- proxmox01
|
|
|
|
Purpose:
|
|
|
|
- Primary virtualisation host
|
|
|
|
Hardware:
|
|
|
|
CPU:
|
|
|
|
- <model>
|
|
|
|
RAM:
|
|
|
|
- 16 GB
|
|
|
|
Storage:
|
|
|
|
- <details>
|
|
|
|
Network:
|
|
|
|
- <IP>
|
|
|
|
Notes:
|
|
|
|
- Hosts infrastructure VMs and LXCs
|
|
- Main internal services
|
|
|
|
---
|
|
|
|
## AI / Ollama Server
|
|
|
|
Hostname:
|
|
|
|
- rdbUltra
|
|
|
|
Purpose:
|
|
|
|
- Local LLM hosting
|
|
|
|
Hardware:
|
|
|
|
CPU:
|
|
|
|
- Intel I9
|
|
|
|
RAM:
|
|
|
|
- 32 GB
|
|
|
|
GPU:
|
|
|
|
- RTX 5070 Ti
|
|
- 16 GB VRAM
|
|
|
|
Network:
|
|
|
|
- 192.168.1.111
|
|
|
|
Services:
|
|
|
|
- Ollama
|
|
|
|
Models Installed:
|
|
|
|
- Qwen3
|
|
- Qwen Coder
|
|
- <others>
|
|
|
|
Endpoints:
|
|
|
|
```text
|
|
http://<ip>:11434
|
|
```
|
|
|
|
---
|
|
|
|
## Development Workstation
|
|
|
|
Hostname:
|
|
|
|
- rdbmacbook
|
|
|
|
Type:
|
|
|
|
- Intel MacBook Pro
|
|
|
|
Purpose:
|
|
|
|
- Main software development workstation
|
|
|
|
Installed Tools:
|
|
|
|
- VS Code
|
|
- Claude Code
|
|
- Docker
|
|
- Git
|
|
- SSH
|
|
|
|
---
|
|
|
|
## OpenWebUI Host
|
|
|
|
Hostname:
|
|
|
|
- rdboffice
|
|
|
|
Purpose:
|
|
|
|
- Browser-based LLM interface
|
|
|
|
Connected To:
|
|
|
|
- Ollama Server
|
|
|
|
URL:
|
|
|
|
```text
|
|
https://ai.rdbcloud.co.uk
|
|
```
|
|
|
|
---
|
|
|
|
# Virtual Machines
|
|
|
|
## VM Inventory
|
|
|
|
| VM Name | Purpose | CPU | RAM | IP |
|
|
| ---------- | -------- | --- | ---- | ------- |
|
|
| supabase01 | Database | 4 | 8 GB | x.x.x.x |
|
|
|
|
---
|
|
|
|
# LXC Containers
|
|
|
|
## Container Inventory
|
|
|
|
| IP | LXC Name | Proxmox ID | RAM |
|
|
|------------------------------------------------------------------------------------
|
|
| 192.168.68.100 | adguard | 100 (LXC) | 512 MB
|
|
| 192.168.68.102 | gitea | 104 (LXC) | 1.00 GB
|
|
| 192.168.68.79 | nginxproxymanager | 105 (LXC) | 1.00 GB
|
|
| 192.168.68.90 | jenkins | 106 (LXC) | 2.00 GB
|
|
|
|
---
|
|
|
|
# Infrastructure Services
|
|
|
|
## AdGuard
|
|
|
|
Purpose:
|
|
|
|
- DNS
|
|
- Ad Blocking
|
|
|
|
URL:
|
|
|
|
```text
|
|
http://adguard.lan
|
|
```
|
|
|
|
Host:
|
|
|
|
- adguard01
|
|
|
|
Port:
|
|
|
|
- 3000
|
|
|
|
---
|
|
|
|
## Gitea
|
|
|
|
Purpose:
|
|
|
|
- Git repositories
|
|
- Source control
|
|
|
|
URL:
|
|
|
|
```text
|
|
https://gitea.rdbcloud.co.uk
|
|
```
|
|
|
|
Host:
|
|
|
|
- https://gitea.rdbcloud.co.uk
|
|
|
|
Version:
|
|
|
|
- v1.25.0
|
|
|
|
Repositories:
|
|
|
|
- RC Compatibility App
|
|
- RDB Mobile App
|
|
- Infrastructure
|
|
- robbond/pedwFrontend
|
|
- robbond/proxmox-monitor
|
|
- robbond/pleskSaas
|
|
- robbond/pedwV2
|
|
- robbond/rc-compat
|
|
- robbond/gacapi
|
|
|
|
---
|
|
|
|
## Jenkins
|
|
|
|
Purpose:
|
|
|
|
- CI/CD
|
|
|
|
URL:
|
|
|
|
```text
|
|
http://jenkins.lan:8080
|
|
```
|
|
|
|
Host:
|
|
|
|
- jenkins.lan
|
|
|
|
Jobs:
|
|
|
|
- RC Compatibility Build
|
|
- Mobile App Build
|
|
- Docker Deployments
|
|
- PEDW testing pipeline
|
|
|
|
---
|
|
|
|
## Supabase
|
|
|
|
Purpose:
|
|
|
|
- PostgreSQL
|
|
- Authentication
|
|
- Storage
|
|
|
|
Host:
|
|
|
|
- supabase01
|
|
|
|
Environment:
|
|
|
|
- Self-hosted
|
|
|
|
Database Version:
|
|
|
|
- PostgreSQL xx
|
|
|
|
---
|
|
|
|
## Nginx Proxy Manager
|
|
|
|
Purpose:
|
|
|
|
- Reverse Proxy
|
|
- SSL
|
|
|
|
Host:
|
|
|
|
- npm01
|
|
|
|
Managed Hosts:
|
|
|
|
| Hostname | Target |
|
|
| ------------------------- | -------------------------- |
|
|
| \*.coolify.rdbcloud.co.uk | https://192.168.68.115:443 |
|
|
| ai.rdbcloud.co.uk | http://192.168.68.97:3001 |
|
|
| coolify.rdbcloud.co.uk | http://192.168.68.115:8001 |
|
|
| gitea.rdbcloud.co.uk | http://192.168.68.102:3000 |
|
|
| gitmcp.rdbcloud.co.uk | http://192.168.68.180:8080 |
|
|
| ha.rdbcloud.co.uk | http://192.168.68.96:8123 |
|
|
| jellyfin.rdbcloud.co.uk | http://192.168.68.101:8096 |
|
|
| nextcloud.rdbcloud.co.uk | http://192.168.68.55:80 |
|
|
| pedw.rdbcloud.co.uk | http://192.168.68.109:3000 |
|
|
| portal.rdbcloud.co.uk | http://192.168.68.116:3000 |
|
|
| prox.rdbcloud.co.uk | https://192.168.68.70:8006 |
|
|
| supabase.rdbcloud.co.uk | http://192.168.68.115:8000 |
|
|
|
|
---
|
|
|
|
# Development Stack
|
|
|
|
## Source Control
|
|
|
|
Primary:
|
|
|
|
- Gitea
|
|
|
|
Workflow:
|
|
|
|
```text
|
|
Developer
|
|
↓
|
|
Feature Branch
|
|
↓
|
|
Commit
|
|
↓
|
|
Pull Request
|
|
↓
|
|
Merge
|
|
```
|
|
|
|
---
|
|
|
|
## CI/CD
|
|
|
|
Primary:
|
|
|
|
- Jenkins
|
|
|
|
Build Flow:
|
|
|
|
```text
|
|
Gitea
|
|
↓
|
|
Jenkins
|
|
↓
|
|
Tests
|
|
↓
|
|
Docker Build
|
|
↓
|
|
Deploy
|
|
```
|
|
|
|
---
|
|
|
|
## Containers
|
|
|
|
Runtime:
|
|
|
|
- Docker
|
|
- Docker Compose
|
|
|
|
Container Registry:
|
|
|
|
- <local registry>
|
|
- Docker Hub
|
|
- Gitea Registry
|
|
|
|
---
|
|
|
|
# AI Development Environment
|
|
|
|
## Local Models
|
|
|
|
| Model | Purpose |
|
|
| ----------------- | ------- |
|
|
| Qwen3.6:35b-a3b | Coding |
|
|
| Qwen2.5-coder:14b | Coding |
|
|
|
|
---
|
|
|
|
## Agent Platforms
|
|
|
|
Installed:
|
|
|
|
- OpenWebUI
|
|
- Claude Code
|
|
- Cline in VScode
|
|
|
|
Planned:
|
|
|
|
- OpenHands
|
|
|
|
---
|
|
|
|
## OpenHands
|
|
|
|
Status:
|
|
|
|
- Planned / Testing / Production
|
|
|
|
Location:
|
|
|
|
- VM / LXC / Docker
|
|
|
|
Resources:
|
|
|
|
CPU:
|
|
|
|
- x
|
|
|
|
RAM:
|
|
|
|
- x GB
|
|
|
|
Connected Systems:
|
|
|
|
- Gitea
|
|
- Jenkins
|
|
- Ollama
|
|
|
|
---
|
|
|
|
# Security
|
|
|
|
## Secrets Storage
|
|
|
|
Current Method:
|
|
|
|
- <method>
|
|
|
|
Preferred Future:
|
|
|
|
- Vault
|
|
- 1Password
|
|
- Bitwarden
|
|
- Environment Variables
|
|
|
|
---
|
|
|
|
## Backup Strategy
|
|
|
|
Infrastructure:
|
|
|
|
- Proxmox backups
|
|
- VM snapshots
|
|
|
|
Repositories:
|
|
|
|
- Gitea backups
|
|
|
|
Databases:
|
|
|
|
- PostgreSQL backups
|
|
|
|
Frequency:
|
|
|
|
- Daily
|
|
- Weekly
|
|
- Monthly
|
|
|
|
---
|
|
|
|
# Monitoring
|
|
|
|
Current Tools:
|
|
|
|
- <tool>
|
|
|
|
Metrics:
|
|
|
|
- Host health
|
|
- VM health
|
|
- Disk usage
|
|
- Jenkins status
|
|
- Database health
|
|
|
|
---
|
|
|
|
# Known Constraints
|
|
|
|
Current Limitations:
|
|
|
|
1. Proxmox host has 16 GB RAM
|
|
2. AI server has single GPU
|
|
3. Limited staging environment
|
|
4. <additional constraints>
|
|
|
|
---
|
|
|
|
# Improvement Opportunities
|
|
|
|
Potential Future Enhancements:
|
|
|
|
- Dedicated monitoring stack
|
|
- Centralised logging
|
|
- Local container registry
|
|
- OpenHands integration
|
|
- Automated deployment pipelines
|
|
- Infrastructure-as-Code
|
|
- Agent task orchestration
|
|
|
|
---
|
|
|
|
# Notes For AI Agents
|
|
|
|
When making recommendations:
|
|
|
|
- Prefer self-hosted solutions
|
|
- Prefer Gitea integrations
|
|
- Prefer Jenkins automation
|
|
- Prefer Docker deployments
|
|
- Consider current RAM limitations
|
|
- Assume Ollama is available locally
|
|
- Assume local AI workflows are preferred over cloud alternatives
|