Import aus Monorepo (frischer Start)
All checks were successful
Build & Deploy / deploy (push) Successful in 26s

This commit is contained in:
Lucas Orth
2026-08-24 12:13:54 +02:00
commit 32aa0a549f
38 changed files with 7881 additions and 0 deletions

29
docker-compose.yml Normal file
View File

@@ -0,0 +1,29 @@
# Auto-Deploy per Tag-Push – siehe DEPLOY.md. Statische App (Vite-Build →
# nginx). NPM proxyt app.skrift.de intern an skrift-app:80 (kein Port-Mapping).
#
# WICHTIG: VITE_DIRECTUS_URL wird zur BUILD-Zeit ins Bundle geschrieben. Der
# Wert kommt aus der .env (vom Workflow aus dem Secret DOTENV erzeugt); Compose
# liest die .env automatisch für die Variablen-Ersetzung unten.
name: skrift-app
services:
app:
image: skrift-app:${IMAGE_TAG:-latest}
build:
context: .
args:
VITE_DIRECTUS_URL: ${VITE_DIRECTUS_URL:-https://admin.skrift.de}
container_name: skrift-app
restart: unless-stopped
networks:
- nginx-proxy-manager_default
# Gate für `--wait`; nginx:alpine hat nur BusyBox-wget.
healthcheck:
test: ["CMD-SHELL", "wget -q -O /dev/null http://127.0.0.1/ || exit 1"]
interval: 60s
timeout: 5s
retries: 3
networks:
nginx-proxy-manager_default:
external: true