Containerizing Hyperterse gives you reproducible, portable deployments. The build artifact is a static binary with no external dependencies, so your final image can be extremely small — evenDocumentation Index
Fetch the complete documentation index at: https://docs.hyperterse.com/llms.txt
Use this file to discover all available pages before exploring further.
scratch works.
Multi-stage build
Build from source inside a container and produce a minimal final image. Source files stay in the build stage and never reach the deployed image.Pre-built artifact
If your pipeline already produces thedist/ directory (for example, as a CI artifact), skip the build stage and copy the output directly:
Scratch image
The Hyperterse binary is statically compiled. You can deploy it on ascratch base image with no OS layer at all:
Docker Compose
Run Hyperterse alongside your database for local development or simple deployments:Best practices
- Run as a non-root user. All examples above use a dedicated
hyperterseuser with UID 1001. - Use
env_fileor secrets for credentials. Never bake connection strings into the image. - Use health checks. Hyperterse exposes
/heartbeat— configure Docker’sHEALTHCHECKor your orchestrator’s probes to use it. - Pin your base image. Use specific tags like
alpine:3.19, notalpine:latest.