Files
p42.f-w/docker-compose.yml
T
guyg1474andClaude Opus 5.5 dd58b3d1f8 P42 Dashboard: erster Stand
FastAPI-Backend und React-Frontend mit Konten, Sendungsverfolgung,
Projekt-Artikeln, Vorrat & Einkauf mit Rezeptabgleich, Reise-Weltkarte,
Kanban-Projekten mit Priorität, Server-Monitoring und den Designs
Matrix und Blackwall. Betrieb per Docker hinter nginx (siehe DEPLOY.md).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 14:08:11 +02:00

21 lines
857 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
services:
p42:
build: .
image: p42-dashboard
container_name: p42-dashboard
restart: unless-stopped
ports:
# Nur intern erreichbar: standardmäßig an 127.0.0.1 gebunden – dein nginx leitet auf
# http://127.0.0.1:${P42_PORT} weiter. Port/Adresse in .env änderbar (siehe .env.example).
- "${P42_BIND:-127.0.0.1}:${P42_PORT:-3000}:3000"
environment:
TZ: Europe/Berlin
# Anfragen kommen nur über nginx: dessen X-Forwarded-For/-Proto vertrauen
# (echte Client-IP für den Login-Schutz, HTTPS für sichere Cookies)
FORWARDED_ALLOW_IPS: "${P42_TRUSTED_PROXIES:-*}"
volumes:
# Datenbank + hochgeladene Bilder – bleiben bei Updates und Neubau erhalten
- ./data:/data
# Einstellungen (API-Keys, Wikipedia-Kontakt) – nur lesend
- ./config.json:/app/config.json:ro