feat: template for Gotenberg, a Docker-powered stateless API for PDF files

This commit is contained in:
Khiet Tam Nguyen
2025-01-07 09:56:28 +11:00
parent ef56797c7d
commit 65d362a04a
2 changed files with 26 additions and 0 deletions

BIN
public/svgs/gotenberg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 KiB

View File

@@ -0,0 +1,26 @@
# documentation: https://gotenberg.dev/docs/getting-started/introduction
# slogan: Gotenberg is a Docker-powered stateless API for PDF files.
# tags: api,backend,pdf,tool
# logo: svgs/gotenberg.png
# port: 3000
services:
gotenberg:
image: gotenberg/gotenberg:latest
container_name: gotenberg
environment:
- SERVICE_FQDN_GOTENBERG_3000
# NOTE: requires the --api-enable-basic-auth option in "command"
- GOTENBERG_API_BASIC_AUTH_USERNAME=${SERVICE_USER_GOTENBERG}
- GOTENBERG_API_BASIC_AUTH_PASSWORD=${SERVICE_PASSWORD_GOTENBERG}
command: [
"gotenberg",
# See the full list of options at https://gotenberg.dev/docs/configuration
# Examples:
"--api-enable-basic-auth"
#"--api-timeout=60s",
#"--chromium-auto-start"
]
restart: unless-stopped