Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

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

Khiet Tam Nguyen65d362a04a31
diff --git a/public/svgs/gotenberg.png b/public/svgs/gotenberg.png
new file mode 100644
index 0000000000..5db2c6f857
Binary files /dev/null and b/public/svgs/gotenberg.png differ
diff --git a/templates/compose/gotenberg.yaml b/templates/compose/gotenberg.yaml
new file mode 100644
index 0000000000..74341ee089
--- /dev/null
+++ b/templates/compose/gotenberg.yaml
@@ -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
\ No newline at end of file