Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/liberu-control-panel/control-panel-laravel

Control panel built on the latest technologies, including Docker, Laravel 11, PHP 8.3, Filament 3.2 and Livewire 3.5
https://github.com/liberu-control-panel/control-panel-laravel

bind9 control-panel docker docker-compose docker-containers dovecot filamentphp laravel laravel11 mysql nginx php php8 php83 postfix virtualhost virtualhost-generator webhosting

Last synced: about 1 month ago
JSON representation

Control panel built on the latest technologies, including Docker, Laravel 11, PHP 8.3, Filament 3.2 and Livewire 3.5

Awesome Lists containing this project

README

        

# [Liberu Dockerised Webhosting Control Panel](https://www.liberu.org.uk) ![Open Source Love](https://img.shields.io/badge/Open%20Source-%E2%9D%A4-red.svg)

![](https://img.shields.io/badge/PHP-8.3-informational?style=flat&logo=php&color=4f5b93)
![](https://img.shields.io/badge/Laravel-11-informational?style=flat&logo=laravel&color=ef3b2d)
![](https://img.shields.io/badge/Filament-3.2-informational?style=flat&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgeG1sbnM6dj0iaHR0cHM6Ly92ZWN0YS5pby9uYW5vIj48cGF0aCBkPSJNMCAwaDQ4djQ4SDBWMHoiIGZpbGw9IiNmNGIyNWUiLz48cGF0aCBkPSJNMjggN2wtMSA2LTMuNDM3LjgxM0wyMCAxNWwtMSAzaDZ2NWgtN2wtMyAxOEg4Yy41MTUtNS44NTMgMS40NTQtMTEuMzMgMy0xN0g4di01bDUtMSAuMjUtMy4yNUMxNCAxMSAxNCAxMSAxNS40MzggOC41NjMgMTkuNDI5IDYuMTI4IDIzLjQ0MiA2LjY4NyAyOCA3eiIgZmlsbD0iIzI4MjQxZSIvPjxwYXRoIGQ9Ik0zMCAxOGg0YzIuMjMzIDUuMzM0IDIuMjMzIDUuMzM0IDEuMTI1IDguNUwzNCAyOWMtLjE2OCAzLjIwOS0uMTY4IDMuMjA5IDAgNmwtMiAxIDEgM2gtNXYyaC0yYy44NzUtNy42MjUuODc1LTcuNjI1IDItMTFoMnYtMmgtMnYtMmwyLTF2LTQtM3oiIGZpbGw9IiMyYTIwMTIiLz48cGF0aCBkPSJNMzUuNTYzIDYuODEzQzM4IDcgMzggNyAzOSA4Yy4xODggMi40MzguMTg4IDIuNDM4IDAgNWwtMiAyYy0yLjYyNS0uMzc1LTIuNjI1LS4zNzUtNS0xLS42MjUtMi4zNzUtLjYyNS0yLjM3NS0xLTUgMi0yIDItMiA0LjU2My0yLjE4N3oiIGZpbGw9IiM0MDM5MzEiLz48cGF0aCBkPSJNMzAgMThoNGMyLjA1NSA1LjMxOSAyLjA1NSA1LjMxOSAxLjgxMyA4LjMxM0wzNSAyOGwtMyAxdi0ybC00IDF2LTJsMi0xdi00LTN6IiBmaWxsPSIjMzEyODFlIi8+PHBhdGggZD0iTTI5IDI3aDN2MmgydjJoLTJ2MmwtNC0xdi0yaDJsLTEtM3oiIGZpbGw9IiMxNTEzMTAiLz48cGF0aCBkPSJNMzAgMThoNHYzaC0ydjJsLTMgMSAxLTZ6IiBmaWxsPSIjNjA0YjMyIi8+PC9zdmc+&&color=fdae4b&link=https://filamentphp.com)
![Jetstream](https://img.shields.io/badge/Jetstream-5-purple.svg)
![Socialite](https://img.shields.io/badge/Socialite-latest-brightgreen.svg)
![](https://img.shields.io/badge/Livewire-3.5-informational?style=flat&logo=Livewire&color=fb70a9)
![](https://img.shields.io/badge/JavaScript-ECMA2020-informational?style=flat&logo=JavaScript&color=F7DF1E)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

[![Install](https://github.com/liberu-control-panel/control-panel-laravel/actions/workflows/install.yml/badge.svg)](https://github.com/liberu-control-panel/control-panel-laravel/actions/workflows/install.yml)
[![Tests](https://github.com/liberu-control-panel/control-panel-laravel/actions/workflows/tests.yml/badge.svg)](https://github.com/liberu-control-panel/control-panel-laravel/actions/workflows/tests.yml)
[![Docker](https://github.com/liberu-control-panel/control-panel-laravel/actions/workflows/main.yml/badge.svg)](https://github.com/liberu-control-panel/control-panel-laravel/actions/workflows/main.yml)

## [Hosted application packages](https://liberu.co.uk/order/main/packages/applications/?group_id=3)

## Overview

* User Authentication: Secure login and registration with Jetstream.
* Profiles: Customizable user profiles with avatars and bio information.
* Real-Time Notifications: Stay updated with real-time in-app notifications.
* Private Messaging: Direct messaging between users.
* Search: Find users, posts, and groups easily with powerful search functionality.
* Admin Panel: Manage users, posts, and settings with Filament.
* Responsive Design: Optimized for both desktop and mobile devices.
* Extensible: Modular architecture for easy feature extension and customization.

## Our Projects

* https://github.com/liberu-accounting/accounting-laravel
* https://github.com/liberu-automation/automation-laravel
* https://github.com/liberu-billing/billing-laravel
* https://github.com/liberusoftware/boilerplate
* https://github.com/liberu-browser-game/browser-game-laravel
* https://github.com/liberu-cms/cms-laravel
* https://github.com/liberu-control-panel/control-panel-laravel
* https://github.com/liberu-crm/crm-laravel
* https://github.com/liberu-ecommerce/ecommerce-laravel
* https://github.com/liberu-genealogy/genealogy-laravel
* https://github.com/liberu-maintenance/maintenance-laravel
* https://github.com/liberu-real-estate/real-estate-laravel
* https://github.com/liberu-social-network/social-network-laravel

### Control Panel Features Summary

#### General Features
1. **User Authentication and Authorization**
- Secure login for administrators and users.
- Role-based access control to restrict features based on user roles.

2. **Dashboard**
- Overview of system status and resource usage (CPU, memory, disk).
- Quick access to recent activities and system alerts.

#### NGINX Virtual Hosts Management
1. **Create and Manage Virtual Hosts**
- Easy-to-use interface for adding, editing, and deleting virtual hosts.
- Support for SSL/TLS configuration including Let's Encrypt integration.
- Configure root directory, server name, and additional server directives.

2. **Template Management**
- Use and customize templates for common configurations.
- Option to apply custom configurations per host.

#### BIND DNS Records Management
1. **DNS Zone Management**
- Create, edit, and delete DNS zones.
- Overview of existing zones and their status.

2. **DNS Record Management**
- Add, edit, and remove DNS records (A, AAAA, CNAME, MX, TXT, etc.).
- View all records for a specific zone.
- Propagation status and error checking.

#### Postfix and Dovecot Email Management
1. **Email Domain Management**
- Add and manage email domains.
- Configure domain-specific settings.

2. **Email Account Management**
- Create, edit, and delete email accounts.
- Set mailbox quotas and forwarding rules.
- Password management and reset functionality.

3. **Email Aliases and Forwarders**
- Create and manage email aliases.
- Configure email forwarders for account redirection.

#### MySQL Database Management
1. **Database Creation and Management**
- Create, edit, and delete databases.
- Assign databases to specific users.

2. **User Management**
- Create, edit, and delete database users.
- Manage user permissions and access rights.

3. **Backup and Restore**
- Scheduled and manual backups of databases.
- Restore databases from backups with a few clicks.

#### Docker Compose Integration
1. **Service Deployment**
- One-click deployment of all services using Docker Compose.
- Manage individual service status (start, stop, restart).

2. **Configuration Management**
- Edit Docker Compose YAML configuration directly from the control panel.
- Apply and save changes to configurations seamlessly.

3. **Logs and Monitoring**
- View real-time logs for each service.
- Monitor health and performance metrics of containers.

4. **Updates and Maintenance**
- Automated updates for Docker images.
- Maintenance mode to safely perform system updates and backups.

### User Interface
- **Responsive Design**
- Accessible from desktop and mobile devices.
- **Intuitive Navigation**
- User-friendly interface with clear navigation and helpful tooltips.
- **Search and Filter**
- Quickly find specific hosts, records, email accounts, and databases with search and filter options.

This control panel would streamline the management of web hosting, DNS, email, and databases, making it ideal for web administrators and hosting providers.

## Setup with Docker

1. Ensure you have Docker and Docker Compose installed on your system.
2. Clone this repository:
```
git clone https://github.com/liberu-control-panel/control-panel-laravel.git
cd control-panel-laravel
```
3. Copy the `.env.example` file to `.env`:
```
cp .env.example .env
```
4. Update the `.env` file with your desired configuration, especially the `CONTROL_PANEL_DOMAIN` and `LETSENCRYPT_EMAIL` variables.
5. Run the setup script:
```
./setup.sh
```

The setup script will:
- Build the Docker images
- Start the Docker containers
- Run database migrations
- Seed the database
- Optimize Laravel

Once the setup is complete, you can access the control panel at `http://localhost` or the domain you specified in the `.env` file.

## Docker Commands

- To start the containers:
```
docker-compose up -d
```

- To stop the containers:
```
docker-compose down
```

- To view container logs:
```
docker-compose logs
```

- To run artisan commands:
```
docker-compose exec control-panel php artisan
```

## Development Workflow

1. Make changes to your code locally.
2. The changes will be reflected in the running Docker containers due to volume mapping.
3. If you need to rebuild the containers after making changes to the Dockerfile or docker-compose.yml:
```
docker-compose up -d --build
```

## Troubleshooting

- If you encounter permission issues, you may need to adjust the ownership of the project files:
```
sudo chown -R $USER:$USER .
```

- If the containers are not starting properly, check the logs:
```
docker-compose logs
```

## Building with Docker

To build the Dockerfile manually:

1. Ensure you have Docker installed on your system.
2. Open a terminal in the project folder.
3. Run the following command to build the Docker image:
```
docker build -t control-panel-laravel .
```
4. Once the image is built, you can run the container with:
```
docker run -p 8000:8000 control-panel-laravel
```

NOTE: Ensure your `.env` file is correctly configured with your database connection details before running migrations.

### Using Laravel Sail

This project also includes support for Laravel Sail, which provides a Docker-based development environment. To use Laravel Sail, follow these steps:

1. Ensure you have Docker installed on your system.
2. Open a terminal in the project folder.
3. Run the following command to start the Laravel Sail environment:
```
./vendor/bin/sail up
```
4. Once the containers are running, you can access the application at `http://localhost`.
5. To stop the Sail environment, press `Ctrl+C` in the terminal.

For more information on using Laravel Sail, refer to the [official documentation](https://laravel.com/docs/sail).

### Description

### Licensed under MIT, use for any personal or commercial project.

## Demostration website

### Contributions

We warmly welcome new contributions from the community! We believe in the power of collaboration and appreciate any involvement you'd like to have in improving our project. Whether you prefer submitting pull requests with code enhancements or raising issues to help us identify areas of improvement, we value your participation.

If you have code changes or feature enhancements to propose, pull requests are a fantastic way to share your ideas with us. We encourage you to fork the project, make the necessary modifications, and submit a pull request for our review. Our team will diligently review your changes and work together with you to ensure the highest quality outcome.

However, we understand that not everyone is comfortable with submitting code directly. If you come across any issues or have suggestions for improvement, we greatly appreciate your input. By raising an issue, you provide valuable insights that help us identify and address potential problems or opportunities for growth.

Whether through pull requests or issues, your contributions play a vital role in making our project even better. We believe in fostering an inclusive and collaborative environment where everyone's ideas are valued and respected.

We look forward to your involvement, and together, we can create a vibrant and thriving project. Thank you for considering contributing to our community!

### License

This project is licensed under the MIT license, granting you the freedom to utilize it for both personal and commercial projects. The MIT license ensures that you have the flexibility to adapt, modify, and distribute the project as per your needs. Feel free to incorporate it into your own ventures, whether they are personal endeavors or part of a larger commercial undertaking. The permissive nature of the MIT license empowers you to leverage this project without any unnecessary restrictions. Enjoy the benefits of this open and accessible license as you embark on your creative and entrepreneurial pursuits.

## Contributors