Files
skrift-signature-service/docker-compose.yml
Lucas Orth 1fe6160b21
All checks were successful
Build & Deploy / deploy (push) Successful in 1m15s
Import aus Monorepo (frischer Start)
2026-08-24 12:13:51 +02:00

25 lines
856 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. Zustandsloser Service, keine
# Volumes, keine Laufzeit-Env. NPM proxyt api-sign.skrift.de intern an
# skrift-signature-service:8000 (kein Port-Mapping).
name: skrift-signature-service
services:
app:
image: skrift-signature-service:${IMAGE_TAG:-latest}
build: .
container_name: skrift-signature-service
restart: unless-stopped
networks:
- nginx-proxy-manager_default
# Gate für `--wait`; „/" ist der Health-Endpoint des FastAPI-Services.
# Python-Image → kein node/curl, daher urllib.
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request,sys; sys.exit(0 if urllib.request.urlopen('http://127.0.0.1:8000/').status==200 else 1)"]
interval: 60s
timeout: 5s
retries: 3
networks:
nginx-proxy-manager_default:
external: true