first commit

This commit is contained in:
2026-06-24 14:31:42 +00:00
parent 77f946a553
commit 22b05a7a1b
10 changed files with 456 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
services:
report-renderer:
build:
context: ./renderer
container_name: monthly-report-renderer
restart: unless-stopped
environment:
TZ: ${TZ:-Europe/Berlin}
GOTENBERG_URL: ${GOTENBERG_URL:-http://gotenberg:3000}
RENDER_TIMEOUT_SECONDS: ${RENDER_TIMEOUT_SECONDS:-60}
MAX_PAYLOAD_BYTES: ${MAX_PAYLOAD_BYTES:-2097152}
ports:
- "${REPORT_RENDERER_PORT:-8080}:8080"
depends_on:
gotenberg:
condition: service_healthy
networks:
- report-net
gotenberg:
image: gotenberg/gotenberg:8
container_name: monthly-report-gotenberg
restart: unless-stopped
command:
- gotenberg
- --chromium-disable-javascript=true
- --api-timeout=90s
healthcheck:
test: ["CMD", "curl", "--fail", "http://localhost:3000/health"]
interval: 10s
timeout: 5s
retries: 10
networks:
- report-net
networks:
report-net:
name: monthly-report-net