Created By Mendy
Portfolio: https://mendiola.pages.dev
Facebook: @mendylivium
- Multi User / Multi Tenancy
- Sales Dashboard
- Voucher Generation
- Reseller Voucher
- Customizable Voucher
- Fair Use Policy
- Auto Database Backup (Manual Import)
First Install Docker.
Follow Step on this Link https://github.com/mendylivium/docker-ubuntu
Clone this repository. Run the following command:
git clone https://github.com/mendylivium/mendyfi-radius.git
Move to the project directory:
cd mendyfi-radius
Run All Containers
docker compose up -d
Update dependencies using Composer
docker compose run --rm composer update
Run Migration
docker compose run --rm artisan migrate:fresh --seed
Edit .env and Change the "CENTRAL_DOMAINS"
This is optional you can Access Admin Page on the Domain Provided
...
CENTRAL_DOMAINS=yourdomain
...
If provide domain in "CENTRAL_DOMAINS" Goto http://< your domain >/auth/login
If dont, Goto http://< your ip>:8090/auth/login
Then, log in to the Mendyfi WebPage:
Username: admin
Password: admin@1234
Note: It is recommended to have a domain to add more users by using subdomains, e.g., user1.domain.com, user2.domain.com, and so on. This allows each user to access their client page, such as http://user1.domain.com/client/auth/login and http://user2.domain.com/client/auth/login.
If you want to use this system with a single client account, you can use the IP address instead, allowing access to the client page at http://<ip_address>/client/auth/login.( where <ip_address> is the IP of the System Public or Local IP)
The database is automatically backed up every day, You can change the backup schedule to run minutely, hourly, or daily. To modify the schedule, edit the file at src/app/Console/Kernel.php.
You can also run the backup manually by executing the following command in the terminal.
docker compose run --rm artisan app:daily-backup
The SQL file will be output to the "backups" folder.
Currently, you can manually restore the database using the console. I’m working on integrating it into the webpage.
docker compose run --rm artisan app:import-backup <YYYY-MM-DD>
Replace < YYYY-MM-DD > with the date you want to restore. e.g 2024-05-05
Modify the .env file to extend the number of days you want to keep backups.
DB_BACKUP_INTERVAL=7 #in Days
You dont need a Controller for This Setup, Just a TP-LINK EAP AP and a Server that runs Mendyfi Radius
Check this Sample Config for your Guide: Click Here
You need a Omada Controller for This Setup.
Check this Sample Config for your Guide: Click Here
Check this Sample Config for your Guide: Click Here
For Configuring Mikrotik to Use RADIUS: Click Here
If you want to store the logs, check .env and Modify LOG_CHANNEL
If you having an error after git pull, just run this commands:
Down all Containers
docker compose down
Run and Rebuild Containers
docker compose up -d --force-recreate --build
Donations are appreciated.
Paypal: https://paypal.me/RommelMendiola
GCash: 09553147435
















