Documentation menu

Reference

Abotlogixfile.json field reference

The public snake_case fields VPServ supports, with practical requirements for prepared projects.

Root fields

FieldStatusParser defaultUse
project_nameOptionalFolder nameA readable name for the prepared project. When omitted, VPServ uses the folder name.
app_urlOptional with a defaulthttp://127.0.0.1:8000The primary URL VPServ presents for opening. Also accepts camelCase appUrl.
portsOptional[]Optional list of port definitions to expose. Accepts rich port objects or simple integers. Entirely optional—projects without web/network endpoints can omit it.
environmentOptional with a default{}Key-value map of project-wide environment variables. Supports path placeholders: {usr}, {bin}, {project}, {home}, and {vpserv_home}.
servicesOptional[]The array of long-running processes VPServ should start. Omit it when a project does not need a service.
setup_commandsOptional with a default[]One-time command argument arrays that run before services. Omit this field when no preparation is needed.
tunnelOptionalAbsent / no tunnelNamed Cloudflare tunnel configuration. Local-only projects can omit it entirely.

Use only the fields your project needs. Do not add empty fields simply because another example includes them.

ports (Optional)

The ports field defines the exposed network ports for the project. Rich object definitions allow providing a name, bind host, protocol, and public visibility flag.

FieldStatusParser defaultUse
portRequiredNoneThe port number to expose (1 to 65535).
nameOptionalnullOptional label for the port (e.g. 'web', 'api', 'admin').
hostOptionalnullConfigured bind host (e.g. '127.0.0.1', '0.0.0.0'). VPServ verifies the actual socket binding at runtime.
protocolOptional with a default"http"Protocol used by the port (e.g. 'http', 'https').
publicOptional with a defaultfalseWhether this port is treated as public.
Rich multi-port example
{
  "ports": [
    {
      "name": "web",
      "port": 8000,
      "host": "127.0.0.1",
      "protocol": "http",
      "public": false
    },
    {
      "name": "api",
      "port": 8080,
      "protocol": "http"
    }
  ]
}

environment

The optional environment field provides project-wide environment variables. Values support placeholders expanded by the VPServ runtime orchestrator.

PlaceholderExpanded Path
{usr}VPServ user environment directory
{bin}VPServ executable binaries directory
{project}Current active project folder root
{home}Current project home directory
{vpserv_home}VPServ global home directory
Environment variables example
{
  "environment": {
    "NODE_ENV": "development",
    "PORT": "8080",
    "STORAGE_PATH": "{project}/storage",
    "SHARED_BIN": "{bin}"
  }
}

services

services is the optional array of processes VPServ should start when the user taps Run Environment. Place services in the order the project needs them processed.

FieldStatusParser defaultUse
nameRequiredNoneA readable service label used to identify the configured process.
commandRequiredNoneA required argument array. For a working service, put the executable first, followed by one argument per array item.
delay_after_start_msOptional with a default0A fixed pause in milliseconds after the service launch step. It is not a service health check.
init_scriptsOptional with a default[]Existing project-root-relative .sql files for the MariaDB initialization path. Omit it when no SQL initialization is needed.
tool_idOptional with a defaultThe first item in commandAn optional explicit tool name. Most project authors can omit it and let VPServ use the first item in the service command.
A command is an argument array
{
  "name": "php_server",
  "command": [
    "php",
    "-S",
    "0.0.0.0:8000",
    "-t",
    "."
  ]
}
CorrectIncorrect
One executable and one array item per argumentOne complete shell command stored as one command item
["php", "-S", "0.0.0.0:8000", "-t", "."]["php -S 0.0.0.0:8000 -t ."]

The first item is the executable. Every remaining item is one argument. Use the selected project folder where your project command needs it.

setup_commands

setup_commands is an optional list of command argument arrays. Use it only for one-time preparation such as installing project dependencies, preparing project files, or running a supported build step. Commands run before services, in listed order, and use the synchronous setup path.

Optional setup command fragment
{
  "setup_commands": [
    [
      "python3.13",
      "-m",
      "pip",
      "install",
      "-r",
      "{home}/requirements.txt"
    ]
  ]
}

tunnel

tunnel is optional. Omit it for a local-only project. When enabled, VPServ starts the configured named Cloudflare tunnel as part of the project workflow.

FieldStatusParser defaultUse
enabledOptional with a defaultfalseTurns the configured named tunnel workflow on or off.
domainConditionally required""The public hostname for an enabled named tunnel. An enabled tunnel needs a configured hostname.
tokenConditionally required""The named tunnel credential for a usable enabled tunnel. Never commit a real token.
Named Cloudflare tunnel fragment
{
  "tunnel": {
    "enabled": true,
    "domain": "app.example.com",
    "token": "YOUR_CLOUDFLARE_TUNNEL_TOKEN"
  }
}

For MariaDB initialization, init_scripts uses existing project-root-relative files whose names end in .sql. It is not a generic script runner.