Skip to content

Templates and settings

Stacks are created from a template in the catalogue, by you or by HD Services: a ready-made compose file plus a description of the settings that differ per client. That description (the manifest) determines what you see on the Settings tab.

The Settings tab

  • The fields of the form: name, type, whether it is required, a default, a help text (the ? next to the field) and optionally a list of choices. Every field becomes a variable in the stack’s .env file.
  • Next steps: the Next steps card on the Overview tab, with what still has to happen after creation (DNS record, first deploy, content).
  • Behaviour: whether the stack has a site with content, whether it gets an access list, whether the nightly update is on by default, whether it builds from source (a git repository, or an upload when you give no repository).
  • Recommended memory: a template may name how much memory the server should have at least (the Supabase templates: 8 GB). When your server has less, the creation form shows a warning; creating and deploying still work. Ask HD Services for a larger server.

The list behind New stack on the Stacks page (GET /templates in the API, list_templates for an assistant) shows the templates you may use on this server:

  • Generic templates are available to every client: a static website (NGINX), PostgreSQL, MariaDB, Next.js/Node.js with PostgreSQL (from a git repository or uploaded source), an app made in Lovable, a Next.js app with Supabase, a Supabase backend of your own (on its own, or together with a Lovable app), Synapse and HD Chat Bridge: WhatsApp messages from your own apps (unofficial, with a risk).
  • The template of your own application appears only after HD Services has enabled it for your server. You never see other clients’ templates; if a script or assistant asks for one anyway, the server answers “unknown template”.
  • A stack without a template (the blank compose editor) is created by HD Services only. You may still edit the compose file of a stack from a template afterwards, within the platform rules.

For a static website template, creation also creates the matching site right away (same name, upload only), so you can upload content immediately. If no template fits your application, mail helpdesk@hdservices.nl.

Type What you enter
text Free text.
domain A host name without https://, for example www.example.com.
e-mail An e-mail address.
number / port A number; a port between 1 and 65535.
password A secret. For a required password field the portal fills in a randomly generated value; keep it or replace it.
select One value from a list.
checkbox On or off.
acknowledgement A statement you accept by ticking it, such as a risk the template warns about at the top of the form. Creating the stack is refused until you tick it; an assistant asks you instead of ticking it for you.

Fields that are rarely needed are folded under Advanced.

  • A generated password is shown once, right after saving. Copy it to your password manager then. Regenerate next to the field makes a new one. If you create a stack through the API or an assistant and leave such a field empty, the server generates the secret itself; the answer lists those fields under generated.
  • Some fields store only a hash (argon2id): the value itself is not kept and cannot be shown again. Enter a new value to replace it, or paste an existing hash to reuse one.
  • A key set (in the Supabase templates) is a group of keys that are signed with each other. Leave those fields empty at creation: the server makes the whole set in one go. Never change one of them on its own later. See Supabase stacks.
  • Fields whose help text says they are frozen after the first deploy (the database name, for example) cannot be changed safely later: the application already used them.

Save keeps the settings as a new revision; they apply at the next deploy. Save and deploy does both. The Overview tab shows whether the current definition is already running.

A template’s compose file is visible on the Advanced tab; the stack’s name is filled in everywhere. You may change it (an extra domain name, for example), within the platform rules. The lines of the .env file that belong to form fields are managed by the form; lines you add yourself are kept.