signet help Open the console

Server templates

Set up a Linux server for Laravel, AdonisJS or Python for AI in one go, with a script signed so that only you can publish it.

A server template is a shell script that installs what a kind of server needs. Signet starts you off with templates for Laravel + Angular, AdonisJS and Python for AI; you read one, change it if you need to, and sign it with your key file. A device runs a template as root, but only after checking that signature itself.

Making a template (admins)

  1. On Server templates, click New template and pick what to start from.
  2. Read the script. Its settings, such as the PHP version, the Node.js version or the database, are the variables at the top: change them there. Add or remove commands as you need.
  3. Choose your key file (the one made on Software packages) and click Sign and save.

To change a template, click its edit icon, change it, and sign it again. Each save, and each run, records the script's SHA-256, so you can tell which version set up which server. A deleted or replaced version stays signed: devices would still run it if it came back, for example from a backup. Only a new signing key retires it for good.

Saving signs the script to run as root on any device an operator deploys it to. Read it through before you sign it, and keep passwords out of it: operators can read every template.

Deploying (operators)

Click a template's deploy icon, pick an online Linux device, and click Deploy. Or start from the device: its Templates tab lists your templates, each with a deploy icon. The output follows live, and stays on the device's Jobs tab. The script runs even if your connection drops.

  • The templates are written for Ubuntu 24.04 and Debian 12 or later, on 64-bit x86 and ARM, and stop with a message on anything else.
  • They are safe to run again, for example after you change a setting.
  • They set up the server, not your app: the end of the output shows what to do next, such as the lines for Caddy's configuration.
  • Scripts run without a terminal, so a command that asks a question fails instead of waiting. Give it -y or similar.

When a device refuses

  • Not signed with this device's software key: the device trusts a different key. Device setup on Software packages shows the line it needs.
  • Not allowed by this device's policy: the device has its own SIGNET_JOBS line in /etc/signet/agent.env. Add template to it and restart signet-agent.
  • Cannot run server templates: its agent is older than templates (update it), or it is a Windows or Android device.
  • This machine runs the hub: a template could take the port every agent connects to, so set up the hub's own machine over SSH.

Questions? Write to support@signet-app.ie. Found a security issue? Report it privately.