Till Tomczak 951473d1ec Erstelle Docker-Setup mit Installationsskripten für Frontend und Backend
- Füge Docker-Compose-Konfiguration mit Host-Netzwerk für Frontend und Backend hinzu
- Erstelle Dockerfile für das Frontend mit automatischer Datenbankmigration
- Aktualisiere Backend-Docker-Compose mit korrekten Umgebungsvariablen
- Implementiere Installationsskripte:
  - install-myp.sh: Vollständige Installation beider Komponenten
  - start-myp.sh: Starten der installierten Container
  - stop-myp.sh: Stoppen der Container
  - setup-backend-env.sh: Einrichten der Backend-Umgebungsvariablen
- Korrigiere SQLite-Datenbankprobleme im Frontend

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-31 10:36:16 +02:00

16 lines
403 B
YAML

version: '3'
services:
frontend:
build:
context: .
dockerfile: Dockerfile
container_name: myp-frontend
network_mode: host
environment:
- RUNTIME_ENVIRONMENT=${RUNTIME_ENVIRONMENT:-dev}
- OAUTH_CLIENT_ID=${OAUTH_CLIENT_ID:-client_id}
- OAUTH_CLIENT_SECRET=${OAUTH_CLIENT_SECRET:-client_secret}
volumes:
- ./db:/app/db
restart: unless-stopped