- Add icanhazstring/composer-unused as dev dependency for dependency hygiene checks - Add German documentation (docs/) covering architecture, conventions, workflows, and developer checklists - Add API layer (ApiAuth, ApiBootstrap, ApiResponse), audit, scheduler, custom fields, and SSO services - Add Microsoft OIDC SSO, API token management, and user lifecycle features - Add swagger-ui vendor integration and OpenAPI spec - Add production Docker setup and bin/ scripts - Update composer dependencies, config, templates, and frontend assets throughout Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
66 lines
1.0 KiB
Markdown
66 lines
1.0 KiB
Markdown
# Docker lokal
|
|
|
|
Letzte Aktualisierung: 2026-02-21
|
|
|
|
## Ziel
|
|
|
|
Diese Anleitung bringt die Anwendung lokal schnell und stabil zum Laufen.
|
|
|
|
## Voraussetzungen
|
|
|
|
- Docker Desktop (oder Docker Engine + Compose)
|
|
- Port `8080` (App) und `8081` (phpMyAdmin) sind frei
|
|
|
|
## Start in 4 Schritten
|
|
|
|
1. ENV-Datei anlegen:
|
|
|
|
```bash
|
|
cp .env.example .env
|
|
```
|
|
|
|
2. Container bauen und starten:
|
|
|
|
```bash
|
|
docker compose up --build -d
|
|
```
|
|
|
|
3. Anwendung öffnen:
|
|
- App: `http://localhost:8080`
|
|
- phpMyAdmin: `http://localhost:8081`
|
|
|
|
4. Logs prüfen (optional):
|
|
|
|
```bash
|
|
docker compose logs -f nginx php
|
|
```
|
|
|
|
## Nützliche Befehle
|
|
|
|
Neustart:
|
|
|
|
```bash
|
|
docker compose restart nginx php
|
|
```
|
|
|
|
Stoppen:
|
|
|
|
```bash
|
|
docker compose down
|
|
```
|
|
|
|
Scheduler-Logs:
|
|
|
|
```bash
|
|
docker compose logs -f scheduler
|
|
```
|
|
|
|
## Häufige lokale Probleme
|
|
|
|
- Änderungen werden nicht sichtbar:
|
|
- `docker compose restart nginx php`
|
|
- Datenbank startet nicht:
|
|
- DB-Container-Logs prüfen: `docker compose logs -f db`
|
|
- Port-Konflikt:
|
|
- in `docker-compose.yml` lokale Port-Mappings anpassen
|