No description
  • Shell 89.8%
  • PowerShell 4.8%
  • FLUX 3.1%
  • Python 1.9%
  • Dockerfile 0.4%
Find a file
2026-06-07 21:10:36 -04:00
.ai-chats sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
.archive sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
.cc-iterations sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
.perpetual-motion sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
.vscode sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
ai-chats sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
ai-prompts-directions sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
compose sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
dev sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
docs sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
home-network/Synology-Home-Pool sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
LINUX sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
LINUX-FILE-SYSTEM/etc/ssh sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
scripts/ai-time sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
SERVICES-TO-CONFIG sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
TEMP-DOCS sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
templates sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
vendor-a2-hosting sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
vendor-hostinger sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
Windows sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
WSL sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
.gitignore sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
.init-server.md sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
all-servers.md sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
banner.md sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
CLAUDE.md sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
create-documentation.py sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
darren-arch copy.sh sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
darren-arch.sh sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
darren-ubuntu.sh sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
docker-resource-pruning.md sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
haven.sh sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
lavender.sh sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
pilot.sh sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
readme.md sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
santa-book.sh sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
security.md sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00
server-setup-checklist.md sync: checkpoint 2026-06-07 2026-06-07 21:10:36 -04:00

SERVER-CONFIGs Repository

A comprehensive collection of server configurations, Docker Compose stacks, and infrastructure management tools for deploying and maintaining multiple Linux servers and containerized applications.

Servers Managed

  • KVM2: SRV-712-210 147.93.118.143 🛠️ MISC ssh.darrenneese.us
  • KVM8: SRV-778-271 69.62.86.53 🏫 MOODLE!
  • KVM8: SRV-761-646 167.88.42.42 📽️ BBB

🏗️ Repository Overview

This repository follows a defensive infrastructure pattern, providing production-ready configurations for web hosting, monitoring, and application deployment across multiple VPS environments.

Key Features

  • Docker-first approach with Portainer management
  • Multiple server environments with organized configurations
  • Security-hardened setup scripts and configurations
  • Comprehensive documentation and troubleshooting guides
  • Environment-based configuration for easy deployment

📁 Directory Structure

├── APP-COMPOSE/          # Docker Compose applications
│   ├── BackupPC/         # Backup solution
│   ├── BookStack/        # Knowledge management
│   ├── duplicati/        # Backup client
│   ├── gitea/           # Git hosting platform
│   ├── OpenManus/       # Project management
│   └── Watchtower/      # Container auto-updater
├── SRV-*/              # Server-specific configurations
│   ├── SRV-712-210-KVM2/      # Monitoring server
│   ├── SRV-761-646-BBB/       # BigBlueButton server
│   └── SRV-778-271-MOODLE/    # Application hosting
├── LINUX-FILE-SYSTEM/  # System configuration files
├── SERVICES-TO-CONFIG/ # Service setup documentation
├── SYNOLOGY-HOME-POOL/ # Home NAS configurations
├── ai-chats/           # AI conversation documentation
├── docs/               # Documentation and guides
├── scripts/            # Automation scripts
└── templates/          # Reusable configuration templates

🚀 Quick Start

1. Server Setup

Use the provided setup scripts for new server deployment:

# For general setup (update variables first)
./staging.sh

# For Darren's specific setup
./darren.sh

2. Deploy Applications

Each application in APP-COMPOSE/ has its own setup:

cd APP-COMPOSE/[application-name]
cp .env.example .env
# Edit .env with your configuration
docker-compose up -d

3. Environment Configuration

⚠️ Security Note: All .env.example files contain placeholder values and example passwords. ALWAYS change these before deployment:

  • Replace all passwords with secure, unique values
  • Update domain names and URLs
  • Modify user IDs and security tokens
  • Review and adjust resource limits

🛠️ Infrastructure Components

Server Architecture

  • Hostinger VPS environments with custom domains
  • Docker containerization for all services
  • Portainer for container management
  • PostgreSQL as primary database
  • Nginx for reverse proxy and SSL termination

Supported Applications

  • Gitea: Self-hosted Git platform
  • BookStack: Documentation and wiki
  • BackupPC: Centralized backup solution
  • Duplicati: Cross-platform backup client
  • n8n: Workflow automation
  • Moodle: Learning management system
  • BigBlueButton: Video conferencing

📋 Prerequisites

System Requirements

  • Linux server (Ubuntu 20.04+ recommended)
  • Docker and Docker Compose
  • Minimum 2GB RAM, 20GB storage
  • Domain name with DNS access

Required Tools

  • SSH access to servers
  • Text editor (nano, vim, or VS Code)
  • Basic shell scripting knowledge

🔒 Security Features

Built-in Security

  • Environment variable isolation
  • Resource limits for containers
  • Health checks and monitoring
  • SSL/TLS configuration
  • Firewall rules and SSH hardening

Security Best Practices

  1. Change default passwords in all .env files
  2. Use strong, unique passwords for each service
  3. Keep containers updated with Watchtower
  4. Monitor logs regularly
  5. Backup configurations before changes

📖 Documentation

Setup Guides

Application Guides

Each APP-COMPOSE/ directory contains:

  • README.md - Setup instructions
  • .env.example - Configuration template
  • before-install.md - Prerequisites (if applicable)

Troubleshooting

Common issues and solutions can be found in:

🔧 Development

VS Code Integration

This repository includes VS Code tasks for:

  • Building projects (Ctrl+Shift+P → "Run Task" → "Build Project")
  • Updating timestamps for AI documentation
  • Running common Docker commands

Adding New Services

  1. Create directory in APP-COMPOSE/
  2. Use templates from templates/ directory
  3. Follow naming conventions: service-name/
  4. Include comprehensive documentation

🤖 AI Documentation

This repository uses an AI-assisted documentation system:

  • Chat logs stored in ai-chats/ with timestamp folders
  • Automatic time updates via scripts/ai-time/get_time.py
  • Comprehensive conversation tracking for reference

💼 Hostinger Account Information

Account Details

📞 Support

Getting Help

  1. Check application-specific README files
  2. Review troubleshooting documentation
  3. Search through AI chat logs for similar issues
  4. Consult service-specific documentation

Contributing

When adding configurations or documentation:

  1. Follow existing directory structure
  2. Include comprehensive .env.example files
  3. Document prerequisites and setup steps
  4. Test configurations before committing

📝 TODO

🏷️ Version Information

  • Repository Structure: v2.0
  • Docker Compose Format: 3.9
  • Recommended OS: Ubuntu 22.04 LTS
  • Last Major Update: June 2025

⚠️ Important: This repository contains infrastructure configurations for production servers. Always test changes in a development environment first and maintain proper backups before deploying to production.