- NGINX
- PHP 8.3
- Composer 2.7
- MySQL 8.0
- Laravel 11
- Nova 4
Number of parallel processes for web resource parsing:
PARSER_QUEUE_PROCESSES=15
Number of retries to parse the resource if an error occurs:
PARSER_REQUEST_RETRIES=3
Minimum number of characters that page content can contain:
PARSER_MIN_PAGE_CONTENT_SIZE=100
Start the resource parser:
docker exec -t laravel-bank-search-php-fpm php artisan app:resource-parser
Default credentials:
Email: [email protected]
Password: admin
http://localhost/api/documentation
http://localhost/search-example
Step 1. Install Docker, Docker Compose.
Step 2. Clone the repository of project.
Step 3. Create a .env
file based on .env.example
and set up the environment variables:
cp .env.example .env
Step 4. Create a auth.json
file based on auth.example.json
and set your project credentials:
cp auth.example.json auth.json
Step 5. Set your UID and GID in the .env
file (By default these values are set to 1000).
Step 6. Run the containers:
docker-compose up -d
This will run all the services described in docker-compose.yml
in the background.
Step 7. Run project installation:
docker exec -t laravel-bank-search-php-fpm composer project.install
This will run composer install, DB migrations, IDE helper, etc.
Step 8. Open the application in your browser:
Application URL - http://localhost
After the quick start installation, you can start and stop the project with the following commands.
Run the containers:
docker-compose up -d
Stop the containers:
docker-compose down
Code fix:
docker exec -t laravel-bank-search-php-fpm composer code.fix
Code analysis:
docker exec -t laravel-bank-search-php-fpm composer code.analyse
Code fix and analysis:
docker exec -t laravel-bank-search-php-fpm composer code.debug