llms.txt

Using Templates

Templates provide pre-configured deployment setups for common application stacks. They're the fastest way to get started with Hydron — select a template, customize a few settings, and deploy.

How templates work

A template includes:

  • Pre-configured services with optimized settings
  • Dockerfiles tuned for the specific stack
  • Environment variable definitions with sensible defaults
  • Health check configurations
  • Recommended server specifications

When you choose a template, Hydron sets up everything automatically. You only need to provide your application-specific values (database passwords, API keys, etc.).

Available template categories

Web Applications

TemplateStackDescription
Node.js + ExpressNode.js, Express, MongoDBREST API with database
React + Node.jsReact, Express, PostgreSQLFull-stack web application
Next.jsNext.js, PostgreSQLServer-rendered React application
DjangoPython, Django, PostgreSQLPython web framework
RailsRuby on Rails, PostgreSQLRuby web framework
LaravelPHP, Laravel, MySQLPHP web framework
Spring BootJava, Spring Boot, PostgreSQLJava enterprise application

Static Sites

TemplateStackDescription
React SPAReact, NginxSingle-page application with Nginx
Vue.js SPAVue.js, NginxVue.js application with Nginx
Static HTMLHTML/CSS/JS, NginxPlain static files served by Nginx

Databases & Services

TemplateStackDescription
PostgreSQLPostgreSQL 16Managed PostgreSQL database
MySQLMySQL 8Managed MySQL database
RedisRedis 7In-memory cache and message broker
MongoDBMongoDB 7Document database

Using a template

  1. In a new chat, select Templates from the deployment options
  2. Browse or search the template gallery
  3. Select the template that matches your needs
  4. Customize the configuration:
    • Application name
    • Environment variables
    • Server location preference
  5. Review the generated infrastructure plan
  6. Approve and deploy
The deployment source selection includes a Templates option

Customizing templates

Templates are starting points, not rigid configurations. After selecting a template, you can customize everything through the chat:

  • "Change the database to MySQL instead of PostgreSQL"
  • "Add a Redis cache to this stack"
  • "Use a larger server with 32GB RAM"
  • "Add an Nginx reverse proxy in front of the API"

The AI will update the infrastructure plan to reflect your changes.

Templates vs. Git deployment

AspectTemplatesGit deployment
SpeedFastest — deploy in minutesRequires code analysis first
CustomizationPre-configured, then customizableFully analyzed from your code
Best forStandard stacks, quick prototypesCustom applications
Code includedTemplate starter codeYour existing codebase

You can start with a template and later switch to deploying your own code from Git by adding your repository as a service.