dae2bedca467782895e7801d5244878f2f12827f
- Add multi-stage Dockerfile (node-builder, composer-builder, production) - Add Nginx config with WebSocket proxy at /_ws path - Add PHP-FPM pool config, php.ini with OPcache tuning - Add Supervisord managing 7 processes: php-fpm, nginx, horizon, scheduler, reverb, pulse-check, pulse-work - Add entrypoint.sh with auto-migration, config caching, storage setup - Add .dockerignore and .env.production.example - Install laravel/horizon for production queue management and dashboard - Install laravel/pulse for production monitoring with Reverb integration - Configure TrustProxies middleware for HTTPS behind Traefik - Add horizon:snapshot to scheduler - Add VITE_REVERB_PATH for WebSocket path routing through Nginx
iMail - Temporary Email Service
iMail is a simple, Laravel 12-based web application that provides a temporary email service. It allows users to create disposable email addresses to receive emails without revealing their personal email addresses.
Features
- Create temporary email addresses.
- Receive and read emails sent to temporary addresses.
- Easy-to-use interface for checking received emails.
- Email addresses expire after a specified time or once accessed.
Requirements
Before you start, ensure you have the following installed:
- PHP 8.1 or higher
- Composer
- Laravel 12.x
- MySQL or SQLite for the database
Installation
Step 1: Clone the Repository
git clone https://github.com/your-username/imail.git
cd imail
Step 2: Install Dependencies
Run the following command to install the required PHP dependencies:
composer install
Step 3: Environment Configuration
Copy the .env.example file to create your .env file:
cp .env.example .env
Edit the .env file and configure the database and other environment settings:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=imail
DB_USERNAME=root
DB_PASSWORD=
Step 4: Generate Application Key
Generate the Laravel application key by running:
php artisan key:generate
Step 5: Migrate the Database
Run the database migrations to set up the required tables:
php artisan migrate
Step 6: Serve the Application
Start the Laravel development server:
php artisan serve
Your application will be available at http://127.0.0.1:8000.
Usage
- Go to the homepage of your application.
- Create a temporary email address.
- Use the email address to receive emails.
- View received emails in the inbox section.
Description
Languages
Blade
54.7%
PHP
44%
CSS
0.5%
Dockerfile
0.4%
JavaScript
0.2%
Other
0.2%