f568875b2caf61d00f1b1b94136b0967b8c91a29
- Add PHPUnit 11.0 testing framework - Create unit tests for Database and Crawler classes - Create integration tests for Crawler - Add phpunit.xml configuration - Change UI background color to rose - All 9 tests passing 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
PHP Docker Anwendung
Eine PHP-Anwendung mit MariaDB, die in Docker läuft.
Anforderungen
- Docker
- Docker Compose
Installation & Start
- Container starten:
docker-compose up -d
- Container stoppen:
docker-compose down
- Container neu bauen:
docker-compose up -d --build
Services
- PHP Anwendung: http://localhost:8080
- phpMyAdmin: http://localhost:8081
- MariaDB: Port 3306
Datenbank Zugangsdaten
- Host: mariadb
- Datenbank: app_database
- Benutzer: app_user
- Passwort: app_password
- Root Passwort: root_password
Struktur
.
├── docker-compose.yml # Docker Compose Konfiguration
├── Dockerfile # PHP Container Image
├── start.sh # Container Start-Script
├── init.sql # Datenbank Initialisierung
├── config/
│ └── nginx/
│ └── default.conf # Nginx Konfiguration
└── src/
└── index.php # Hauptanwendung
Entwicklung
Die Anwendungsdateien befinden sich im src/ Verzeichnis und werden als Volume in den Container gemountet, sodass Änderungen sofort sichtbar sind.
Description
Languages
Hack
52.4%
PHP
46%
Dockerfile
1.5%
Shell
0.1%