Skip to content

Conversation

@Lackoftactics
Copy link
Owner

This pull request sets up a complete Nextcloud-based homelab cloud environment using Docker Compose, optimized for Unraid.

Key features:

  • Defines services including Nextcloud, PostgreSQL, Redis, Nginx, Paperless-ngx, and BookStack.
  • Implements automated backup and restore scripts for data protection.
  • Provides a setup script to streamline initial configuration, create necessary directories, and set Unraid-compatible permissions.
  • Includes optimized configurations for PHP and Nginx to enhance performance and security.
  • Establishes health checks for service reliability.
  • Facilitates Traefik integration for routing and SSL management.

This configuration provides a production-ready personal cloud solution with document management and knowledge base capabilities.

- Created docker-compose.yml to define services: PostgreSQL, Redis, Nextcloud, Nginx, Paperless, and BookStack.
- Added health checks and resource limits for each service.
- Configured persistent volumes for data storage.
- Implemented Traefik labels for routing and SSL management.

chore: Add PHP configuration for Nextcloud

- Created php.ini with optimized settings for memory, file uploads, and security.

feat: Implement Nginx configuration for Nextcloud

- Added nextcloud.conf with performance optimizations, security headers, and routing rules.

feat: Add PostgreSQL initialization script for multiple databases

- Created init-multiple-databases.sh to automate the creation of databases for Paperless and BookStack.

feat: Implement backup and restore scripts for cloud services

- Added backup-cloud.sh for comprehensive backups of databases, application data, and configurations.
- Added restore-cloud.sh to restore services from backups with verification and logging.

feat: Create setup script for initial configuration of cloud services

- Added setup.sh to automate directory creation, permissions setting, environment configuration, and service deployment.
- Included cron job setup for automated daily backups.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants