refactor: переработка Docker-окружения Laravel

This commit is contained in:
2025-12-10 19:37:35 +03:00
parent 49b7d83dfa
commit 571687ac8d
12 changed files with 217 additions and 146 deletions

View File

@@ -2,16 +2,17 @@
- NGINX, MySQL, phpMyAdmin
## Создание проекта:
## Create a project:
```bash
cp .env.example .env
# !change .env for yourself
./run.sh build
docker compose up -d php-fpm
docker compose exec php-fpm bash
# or `make shell`
```
# Rewrite below for yourself:
```bash
composer global require laravel/installer
@@ -22,3 +23,9 @@ laravel new example-app
mv example-app/* example-app/.* ./
rmdir example-app
```
## Quick Actions
```bash
make help
```