Favicon of DocKing

DocKing

Offload document template management and PDF rendering to a dedicated microservice. Supports multiple engines, dynamic data, and asynchronous generation.

Manage all your document templates and rendering tasks in a single, dedicated microservice. By extracting PDF generation from your core applications, you reduce complexity and improve system performance. This production-ready solution handles dynamic data injection and exports high-quality PDFs on demand. It is designed to scale horizontally during high traffic spikes, ensuring reliable document delivery.

Key features include:

  • Centralized template management to organize all your document layouts in one place.
  • Multiple PDF engine support, including Gotenberg, WkHtmlToPdf, and mPDF.
  • Synchronous and asynchronous rendering modes to fit different architectural needs.
  • Webhook notifications that alert your system the moment an asynchronous PDF render is complete.
  • Built-in UI console for internal teams to easily manage, review, and preview templates and files.

Directory Structure

docking
storage
.env
docker-compose.yml

docker-compose.yml

services:
  docking:
    image: ghcr.io/shipsaas/docking:latest
    restart: unless-stopped
    ports:
      - "3000:3000"
    environment:
      - NODE_ENV=production
      - PORT=3000
      - API_TOKEN=${API_TOKEN}
    volumes:
      - ./storage:/app/storage

.env

API_TOKEN=your_secure_api_token_here

Share:

Ad
Favicon

 

  
 

Similar to DocKing

Favicon

 

  
  
Favicon

 

  
  
Favicon