Cloud Run
If you're looking for cost savings, you might be interested in using Cloud Run.
If so, prefer the gotenberg/gotenberg:7-cloudrun
Docker image tag.
Alternatively, you may also use thecodingmachine/gotenberg:7-cloudrun
from our
sponsor, TheCodingMachine.
For security reasons, the non-root user gotenberg
does not own the Tini
binary by default. However, some providers like Cloud Run from Google Cloud cannot start a Docker container in that case.
Consider using HTTP/2 to bypass the 32 MB request size limit.
You should disable the webhook feature as it does not work on Cloud Run.
Indeed, as a request ends early with this feature, Cloud Run might stop your container before Gotenberg calls your webhook.
Do not redefine the entrypoint, but override the command instead. See this issue for more details.
We don't recommend exposing your instances to the external world. In terms of security, you should consider Gotenberg as a database.