Files
skrift-app/docker-compose.yml
Lucas Orth 32aa0a549f
All checks were successful
Build & Deploy / deploy (push) Successful in 26s
Import aus Monorepo (frischer Start)
2026-08-24 12:13:54 +02:00

30 lines
954 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.
# 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