Files

Files used for configuring infrastructure.

Files can be used by configuration templates. Their content can be anything, however, can utilise custom variables (covered here).

Default Files

We understand that you might want to get started straight away. To do so, you can use the default files provided by Forge. These files are designed to get you up and running quickly, with minimal configuration required.

The default files available in Forge are outlined below.

NameDescription
nginx-http-redirector.confA configuration file used when configuring HTTP redirectors.
filebeat-config.ymlA configuration file used when configuring Filebeat.

Creating A File

To create a new file, follow these steps.

  1. Select your account in the bottom left corner of the Forge dashboard.
  2. Click the "Settings" button.
  3. Select the "File Manager" tab, then "Create File".
  4. Complete the form to add your new file.

Creating a new file in Forge

File Variables

The following variables are available for use within files.

NameDescription
infrastructure-idA unique identifier assigned to the infrastructure created.
textBasic text
numberBasic number.
private-ipPrivate IP address of a host.
public-ipPublic IP address of a host.
tailscale-ipTailscale IP address of a host.
domainA domain tracked within Forge.