first commit
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user