{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a4a4c208-aaeb-45f9-b425-23b992388f79",
    "slug": "pterodactyl-game-s-1",
    "name": "Pterodactyl Panel [Updated Sep '26]",
    "description": "Pterodactyl Panel — Pinned, Key on a Volume, Admin Created on First Boot",
    "url": "https://railway.com/deploy/pterodactyl-game-s-1",
    "upstream": {
      "repo_url": "https://github.com/shruti060701/pterodactyl-panel-railway"
    }
  },
  "services": [
    {
      "name": "MariaDB",
      "source": {
        "image": "mariadb:11.8.8"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/mysql",
      "http": false
    },
    {
      "name": "Panel",
      "source": {
        "repo": "https://github.com/shruti060701/pterodactyl-panel-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/var",
      "http": true
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.6.5-alpine"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "MARIADB_USER",
      "service": "MariaDB",
      "description": "Database user the panel connects as. Granted access to MARIADB_DATABASE automatically on first boot.",
      "secret": false,
      "strategy": "default",
      "default": "pterodactyl"
    },
    {
      "key": "MARIADB_DATABASE",
      "service": "MariaDB",
      "description": "Name of the database MariaDB creates on first boot. The Panel service connects to this database by default via ${{MariaDB.MARIADB_DATABASE}}.",
      "secret": false,
      "strategy": "default",
      "default": "panel"
    },
    {
      "key": "MARIADB_PASSWORD",
      "service": "MariaDB",
      "description": "Password for MARIADB_USER. Auto-generated; the Panel service reads it back via ${{MariaDB.MARIADB_PASSWORD}}.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "MARIADB_ROOT_PASSWORD",
      "service": "MariaDB",
      "description": "Password for the MariaDB root superuser. Auto-generated. Not used by the Panel service day-to-day — only needed if you connect directly as root for maintenance.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PORT",
      "service": "Panel",
      "description": "The port nginx is rewritten to listen on at container boot — see start-with-admin.sh. Railway routes your public domain to this automatically.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "APP_ENV",
      "service": "Panel",
      "description": "Laravel environment name. Affects logging verbosity and error presentation; leave as production.",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "APP_KEY",
      "service": "Panel",
      "description": "Encrypts node tokens and 2FA secrets. Stable because /app/var is a volume — changing this after first boot makes existing encrypted values unreadable, so leave it alone once the panel is running.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "APP_URL",
      "service": "Panel",
      "description": "The panel's own public URL — used to build links it sends itself (e.g. in emails). Resolves automatically to your Railway domain.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "DB_HOST",
      "service": "Panel",
      "description": "MariaDB's private network hostname. Resolves automatically once the MariaDB service exists — private networking, not the public internet.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "DB_PORT",
      "service": "Panel",
      "description": "MariaDB's port. Standard MySQL/MariaDB port — no reason to change it.",
      "secret": false,
      "strategy": "default",
      "default": "3306"
    },
    {
      "key": "APP_DEBUG",
      "service": "Panel",
      "description": "Laravel debug mode. Keep off in production — on a public deploy it leaks stack traces in API error responses.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "REDIS_HOST",
      "service": "Panel",
      "description": "Redis's private network hostname. Resolves automatically once the Redis service exists.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDIS_PORT",
      "service": "Panel",
      "description": "Redis's port. Standard Redis port — no reason to change it.",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "ADMIN_EMAIL",
      "service": "Panel",
      "description": "Login email for the administrator account created on first boot. Change it in the panel after logging in.",
      "secret": false,
      "strategy": "default",
      "default": "admin@example.com"
    },
    {
      "key": "DB_DATABASE",
      "service": "Panel",
      "description": "Database name the panel connects to. References the MariaDB service's own MARIADB_DATABASE value.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_PASSWORD",
      "service": "Panel",
      "description": "Database password. References the MariaDB service's own MARIADB_PASSWORD value — kept in sync automatically.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_USERNAME",
      "service": "Panel",
      "description": "Database username. References the MariaDB service's own MARIADB_USER value.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "LOG_CHANNEL",
      "service": "Panel",
      "description": "Where Laravel writes application logs. stderr routes them into the container's log stream so they show up in Railway's deploy logs.",
      "secret": false,
      "strategy": "default",
      "default": "stderr"
    },
    {
      "key": "MAIL_MAILER",
      "service": "Panel",
      "description": "How the panel sends email (password resets, notifications). log writes mail to the log instead of actually sending — set up a real mailer if you need working email.",
      "secret": false,
      "strategy": "default",
      "default": "log"
    },
    {
      "key": "APP_TIMEZONE",
      "service": "Panel",
      "description": "Timezone used for logs and scheduled tasks. Change to your own timezone if you'd rather not read UTC timestamps.",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "CACHE_DRIVER",
      "service": "Panel",
      "description": "Backend for Laravel's cache layer. Points at the Redis service — don't change unless you're replacing Redis entirely.",
      "secret": false,
      "strategy": "default",
      "default": "redis"
    },
    {
      "key": "HASHIDS_SALT",
      "service": "Panel",
      "description": "Salt used to obfuscate numeric IDs in URLs (e.g. server IDs). Auto-generated; changing it later just changes how existing IDs are encoded in links.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ADMIN_PASSWORD",
      "service": "Panel",
      "description": "Login password for the auto-created administrator. Auto-generated — copy it from this service's variables to log in.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "ADMIN_USERNAME",
      "service": "Panel",
      "description": "Login username for the auto-created administrator.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Panel",
      "description": "Redis password. References the Redis service's own REDIS_PASSWORD value — kept in sync automatically.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SESSION_DRIVER",
      "service": "Panel",
      "description": "Backend for Laravel's session storage. Points at the Redis service — don't change unless you're replacing Redis entirely.",
      "secret": false,
      "strategy": "default",
      "default": "redis"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Panel",
      "description": "Container user ID Railway runs the process as. 0 (root) is required here for the panel's file permission handling to work correctly.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "TRUSTED_PROXIES",
      "service": "Panel",
      "description": "Which upstream proxies Laravel trusts for forwarded IP/protocol headers. * trusts all, which is correct behind Railway's own edge proxy.",
      "secret": false,
      "strategy": "default",
      "default": "*"
    },
    {
      "key": "QUEUE_CONNECTION",
      "service": "Panel",
      "description": "Backend for Laravel's queued jobs. Points at the Redis service — don't change unless you're replacing Redis entirely.",
      "secret": false,
      "strategy": "default",
      "default": "redis"
    },
    {
      "key": "RECAPTCHA_ENABLED",
      "service": "Panel",
      "description": "On by default in the stock image, and it breaks login on a fresh panel — the verification middleware throws before credentials are checked. Off here; turn on once you have your own reCAPTCHA keys configured.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "APP_ENVIRONMENT_ONLY",
      "service": "Panel",
      "description": "Pterodactyl setting restricting certain admin actions to non-production environments. Leave false for a real deployment.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Auth password for this Redis instance. Auto-generated; the Panel service reads it back via ${{Redis.REDIS_PASSWORD}}.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Redis",
      "description": "Container user ID Railway runs the process as. 0 (root) is required for the custom start command to bind correctly.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "pterodactyl-game-s-1"
      }
    },
    "cli": "railway deploy --template pterodactyl-game-s-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a4a4c208-aaeb-45f9-b425-23b992388f79",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "4935f0ff-24a5-41b3-af6a-c7aef17cda71": {
                  "icon": "https://mariadb.org/wp-content/themes/twentynineteen-child/icons/logo_seal.svg",
                  "name": "MariaDB",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "mariadb:11.8.8"
                  },
                  "variables": {
                    "MARIADB_USER": {
                      "isOptional": false,
                      "description": "Database user the panel connects as. Granted access to MARIADB_DATABASE automatically on first boot.",
                      "defaultValue": "pterodactyl"
                    },
                    "MARIADB_DATABASE": {
                      "isOptional": false,
                      "description": "Name of the database MariaDB creates on first boot. The Panel service connects to this database by default via ${{MariaDB.MARIADB_DATABASE}}.",
                      "defaultValue": "panel"
                    },
                    "MARIADB_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for MARIADB_USER. Auto-generated; the Panel service reads it back via ${{MariaDB.MARIADB_PASSWORD}}.",
                      "defaultValue": "{{MARIADB_PASSWORD}}"
                    },
                    "MARIADB_ROOT_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for the MariaDB root superuser. Auto-generated. Not used by the Panel service day-to-day — only needed if you connect directly as root for maintenance.",
                      "defaultValue": "{{MARIADB_ROOT_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "4935f0ff-24a5-41b3-af6a-c7aef17cda71": {
                      "mountPath": "/var/lib/mysql"
                    }
                  }
                },
                "5aa41cea-457a-4e4e-85c9-dc302e40fd2f": {
                  "icon": "https://raw.githubusercontent.com/pterodactyl/panel/develop/public/favicons/android-chrome-512x512.png",
                  "name": "Panel",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/auth/login",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/shruti060701/pterodactyl-panel-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "The port nginx is rewritten to listen on at container boot — see start-with-admin.sh. Railway routes your public domain to this automatically.",
                      "defaultValue": "8080"
                    },
                    "APP_ENV": {
                      "isOptional": false,
                      "description": "Laravel environment name. Affects logging verbosity and error presentation; leave as production.",
                      "defaultValue": "production"
                    },
                    "APP_KEY": {
                      "isOptional": false,
                      "description": "Encrypts node tokens and 2FA secrets. Stable because /app/var is a volume — changing this after first boot makes existing encrypted values unreadable, so leave it alone once the panel is running.",
                      "defaultValue": "{{APP_KEY}}"
                    },
                    "APP_URL": {
                      "isOptional": false,
                      "description": "The panel's own public URL — used to build links it sends itself (e.g. in emails). Resolves automatically to your Railway domain.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "DB_HOST": {
                      "isOptional": false,
                      "description": "MariaDB's private network hostname. Resolves automatically once the MariaDB service exists — private networking, not the public internet.",
                      "defaultValue": "${{MariaDB.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "DB_PORT": {
                      "isOptional": false,
                      "description": "MariaDB's port. Standard MySQL/MariaDB port — no reason to change it.",
                      "defaultValue": "3306"
                    },
                    "APP_DEBUG": {
                      "isOptional": false,
                      "description": "Laravel debug mode. Keep off in production — on a public deploy it leaks stack traces in API error responses.",
                      "defaultValue": "false"
                    },
                    "REDIS_HOST": {
                      "isOptional": false,
                      "description": "Redis's private network hostname. Resolves automatically once the Redis service exists.",
                      "defaultValue": "${{Redis.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDIS_PORT": {
                      "isOptional": false,
                      "description": "Redis's port. Standard Redis port — no reason to change it.",
                      "defaultValue": "6379"
                    },
                    "ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "Login email for the administrator account created on first boot. Change it in the panel after logging in.",
                      "defaultValue": "admin@example.com"
                    },
                    "DB_DATABASE": {
                      "isOptional": false,
                      "description": "Database name the panel connects to. References the MariaDB service's own MARIADB_DATABASE value.",
                      "defaultValue": "${{MariaDB.MARIADB_DATABASE}}"
                    },
                    "DB_PASSWORD": {
                      "isOptional": false,
                      "description": "Database password. References the MariaDB service's own MARIADB_PASSWORD value — kept in sync automatically.",
                      "defaultValue": "${{MariaDB.MARIADB_PASSWORD}}"
                    },
                    "DB_USERNAME": {
                      "isOptional": false,
                      "description": "Database username. References the MariaDB service's own MARIADB_USER value.",
                      "defaultValue": "${{MariaDB.MARIADB_USER}}"
                    },
                    "LOG_CHANNEL": {
                      "isOptional": false,
                      "description": "Where Laravel writes application logs. stderr routes them into the container's log stream so they show up in Railway's deploy logs.",
                      "defaultValue": "stderr"
                    },
                    "MAIL_MAILER": {
                      "isOptional": false,
                      "description": "How the panel sends email (password resets, notifications). log writes mail to the log instead of actually sending — set up a real mailer if you need working email.",
                      "defaultValue": "log"
                    },
                    "APP_TIMEZONE": {
                      "isOptional": false,
                      "description": "Timezone used for logs and scheduled tasks. Change to your own timezone if you'd rather not read UTC timestamps.",
                      "defaultValue": "UTC"
                    },
                    "CACHE_DRIVER": {
                      "isOptional": false,
                      "description": "Backend for Laravel's cache layer. Points at the Redis service — don't change unless you're replacing Redis entirely.",
                      "defaultValue": "redis"
                    },
                    "HASHIDS_SALT": {
                      "isOptional": false,
                      "description": "Salt used to obfuscate numeric IDs in URLs (e.g. server IDs). Auto-generated; changing it later just changes how existing IDs are encoded in links.",
                      "defaultValue": "{{HASHIDS_SALT}}"
                    },
                    "ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Login password for the auto-created administrator. Auto-generated — copy it from this service's variables to log in.",
                      "defaultValue": "{{ADMIN_PASSWORD}}"
                    },
                    "ADMIN_USERNAME": {
                      "isOptional": false,
                      "description": "Login username for the auto-created administrator.",
                      "defaultValue": "admin"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Redis password. References the Redis service's own REDIS_PASSWORD value — kept in sync automatically.",
                      "defaultValue": "${{Redis.REDIS_PASSWORD}}"
                    },
                    "SESSION_DRIVER": {
                      "isOptional": false,
                      "description": "Backend for Laravel's session storage. Points at the Redis service — don't change unless you're replacing Redis entirely.",
                      "defaultValue": "redis"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Container user ID Railway runs the process as. 0 (root) is required here for the panel's file permission handling to work correctly.",
                      "defaultValue": "0"
                    },
                    "TRUSTED_PROXIES": {
                      "isOptional": false,
                      "description": "Which upstream proxies Laravel trusts for forwarded IP/protocol headers. * trusts all, which is correct behind Railway's own edge proxy.",
                      "defaultValue": "*"
                    },
                    "QUEUE_CONNECTION": {
                      "isOptional": false,
                      "description": "Backend for Laravel's queued jobs. Points at the Redis service — don't change unless you're replacing Redis entirely.",
                      "defaultValue": "redis"
                    },
                    "RECAPTCHA_ENABLED": {
                      "isOptional": false,
                      "description": "On by default in the stock image, and it breaks login on a fresh panel — the verification middleware throws before credentials are checked. Off here; turn on once you have your own reCAPTCHA keys configured.",
                      "defaultValue": "false"
                    },
                    "APP_ENVIRONMENT_ONLY": {
                      "isOptional": false,
                      "description": "Pterodactyl setting restricting certain admin actions to non-production environments. Leave false for a real deployment.",
                      "defaultValue": "false"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "5aa41cea-457a-4e4e-85c9-dc302e40fd2f": {
                      "mountPath": "/app/var"
                    }
                  }
                },
                "ff94a737-4637-41e6-89df-3244ab7dd239": {
                  "icon": "https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg",
                  "name": "Redis",
                  "deploy": {
                    "startCommand": "/bin/sh -c 'redis-server --requirepass \"$REDIS_PASSWORD\" --appendonly yes --bind 0.0.0.0 :: --protected-mode no'",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:8.6.5-alpine"
                  },
                  "variables": {
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Auth password for this Redis instance. Auto-generated; the Panel service reads it back via ${{Redis.REDIS_PASSWORD}}.",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Container user ID Railway runs the process as. 0 (root) is required for the custom start command to bind correctly.",
                      "defaultValue": "0"
                    }
                  },
                  "volumeMounts": {
                    "ff94a737-4637-41e6-89df-3244ab7dd239": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Panel",
      "method": "GET",
      "path": "/auth/login",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-10-06T04:14:42.626Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-05T08:42:26.044Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_b35669ee3eb7429d9764",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 111,
    "typical_build_seconds": 41,
    "typical_start_seconds": 14,
    "slowest_service": "Panel"
  }
}
