Martin a6e2a7733e Fix Docker container startup and API endpoint configuration
- Update Dockerfile to use inline CMD instead of external start.sh script to resolve execution issues with CRLF line endings
- Fix nginx fastcgi_pass configuration to use localhost:9000 for PHP-FPM communication
- Correct API endpoint paths in frontend from /src/api.php to /api.php to match nginx document root configuration
- Ensure Composer dependencies are properly installed with PHP 8.3 compatibility

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-03 20:20:20 +02:00
2025-10-03 14:13:04 +02:00
2025-10-03 14:13:04 +02:00
2025-10-03 14:02:44 +02:00
2025-09-26 21:24:25 +02:00
2025-10-03 14:13:04 +02:00
2025-10-03 14:02:44 +02:00
2025-09-26 21:24:25 +02:00
2025-10-03 14:02:44 +02:00
2025-10-03 14:13:04 +02:00
2025-10-03 14:02:44 +02:00
2025-09-26 21:24:25 +02:00
2025-10-03 14:02:44 +02:00
2025-09-26 21:30:27 +02:00

PHP Docker Anwendung

Eine PHP-Anwendung mit MariaDB, die in Docker läuft.

Anforderungen

  • Docker
  • Docker Compose

Installation & Start

  1. Container starten:
docker-compose up -d
  1. Container stoppen:
docker-compose down
  1. Container neu bauen:
docker-compose up -d --build

Services

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
No description provided
Readme 187 KiB
Languages
Hack 52.4%
PHP 46%
Dockerfile 1.5%
Shell 0.1%