- docs/deployment.md: manual build/push/pull workflow via Gitea registry, token handling (no secrets in repo), test vs. production compose variants, rollback and later CI automation notes. - compose.yaml: pull the prebuilt image from the Gitea registry instead of building from source on Unraid (source is not checked out there). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
25 lines
961 B
YAML
25 lines
961 B
YAML
# TEST-Setup fuer den ersten Lauf auf Unraid (ohne NPM).
|
|
#
|
|
# Zieht das fertige Image aus der Gitea-Registry (Build passiert auf dem
|
|
# Entwicklungsrechner, siehe docs/deployment.md), statt auf Unraid aus dem
|
|
# Quellcode zu bauen.
|
|
#
|
|
# Weicht bewusst vom Produktiv-Setup in plan.md Abschnitt 8 ab:
|
|
# - Es gibt ein Port-Mapping (5000 aussen -> 8080 innen), damit die App im
|
|
# lokalen Netz unter http://<unraid>:5000 erreichbar ist. Im Produktiv-
|
|
# betrieb entfaellt das Mapping; dort ist nur NPM der Weg zum Container
|
|
# (dann stattdessen das externe npm-Netz, siehe docs/deployment.md).
|
|
#
|
|
# Sobald NPM steht, wird diese Datei durch das Produktiv-compose ersetzt.
|
|
|
|
services:
|
|
eb-web:
|
|
image: gitea.anticarnist.de/tom/elternbeirat:latest
|
|
container_name: eb-web
|
|
restart: unless-stopped
|
|
environment:
|
|
ASPNETCORE_URLS: http://+:8080
|
|
TZ: Europe/Berlin
|
|
ports:
|
|
- "5000:8080" # TEST-Zugang, im Produktivbetrieb entfernen
|