test borked

This commit is contained in:
Dan Baker 2026-02-22 17:49:23 +00:00
parent 49b528a66b
commit 2418edccfd
29 changed files with 2036 additions and 121 deletions

105
README.md
View file

@ -28,6 +28,7 @@ This will build and start all containers in detached mode.
### 2. Access the application
Open your browser and navigate to:
```
http://localhost:8080
```
@ -125,59 +126,6 @@ podman-compose exec app chown -R www-data:www-data /var/www/html/storage
podman-compose exec app chmod -R 755 /var/www/html/storage
```
## Configuration
### Environment Variables
The application is configured via the `.env` file. Key Docker-specific settings:
```
DB_CONNECTION=mysql
DB_HOST=db
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=laravel
DB_PASSWORD=secret
REDIS_HOST=redis
REDIS_PORT=6379
```
### Database Credentials
- **Database**: laravel
- **Username**: laravel
- **Password**: secret
- **Root Password**: root
### Ports
- **Application**: 8080 (maps to container port 80)
- **MySQL**: 3306
- **Redis**: 6379
## Project Structure
```
.
├── app/ # Application code
├── bootstrap/ # Bootstrap files
├── config/ # Configuration files
├── database/ # Migrations, seeders, factories
├── docker/ # Docker configuration
│ ├── nginx/ # Nginx configuration
│ └── supervisor/ # Supervisor configuration
├── public/ # Public assets
├── resources/ # Views, assets
├── routes/ # Route definitions
├── storage/ # Storage files
├── tests/ # Tests
├── vendor/ # Composer dependencies
├── compose.yml # Podman Compose configuration
├── Dockerfile # Container image definition
└── .env # Environment configuration
```
## Troubleshooting
### Containers won't start
@ -216,54 +164,3 @@ podman-compose exec app php artisan config:clear
podman-compose exec app php artisan route:clear
podman-compose exec app php artisan view:clear
```
## Development Workflow
1. Make code changes in your local files
2. Changes are reflected immediately via volume mounting
3. For composer or config changes, you may need to restart containers:
```bash
podman-compose restart app
```
## Stopping the Application
```bash
# Stop containers (preserves data)
podman-compose down
# Stop and remove volumes (deletes database data)
podman-compose down -v
```
## Additional Information
- Laravel Version: 12.52.0
- PHP Version: 8.3
- MySQL Version: 8.0
- Nginx: Latest stable
- Redis: Alpine latest
For more information about Laravel, visit [https://laravel.com/docs](https://laravel.com/docs)
---
## About Laravel
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
- [Simple, fast routing engine](https://laravel.com/docs/routing).
- [Powerful dependency injection container](https://laravel.com/docs/container).
- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage.
- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent).
- Database agnostic [schema migrations](https://laravel.com/docs/migrations).
- [Robust background job processing](https://laravel.com/docs/queues).
- [Real-time event broadcasting](https://laravel.com/docs/broadcasting).
## Security Vulnerabilities
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed.
## License
The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).