{
  "manifest_version": "1.0.0",
  "template": {
    "id": "fa4b14cd-ff91-4191-b8a4-d1471ce47c71",
    "slug": "pterodactyl-server-panel",
    "name": "Pterodactyl Panel | Game Server Management (MariaDB + Redis)",
    "description": "Pterodactyl game server panel with MariaDB, Redis and a ready admin",
    "url": "https://railway.com/deploy/pterodactyl-server-panel",
    "upstream": {
      "image": "ghcr.io/two-workspaces/pterodactyl:96856a6"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.10.3-alpine"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "MariaDB",
      "source": {
        "image": "mariadb:11.8.9"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/mysql",
      "http": false
    },
    {
      "name": "Panel",
      "source": {
        "image": "ghcr.io/two-workspaces/pterodactyl:96856a6"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/var",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Redis password.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "MARIADB_USER",
      "service": "MariaDB",
      "description": "User for the panel.",
      "secret": false,
      "strategy": "default",
      "default": "pterodactyl"
    },
    {
      "key": "MARIADB_DATABASE",
      "service": "MariaDB",
      "description": "Database for the panel.",
      "secret": false,
      "strategy": "default",
      "default": "panel"
    },
    {
      "key": "MARIADB_PASSWORD",
      "service": "MariaDB",
      "description": "Password for the panel's user.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "MARIADB_ROOT_PASSWORD",
      "service": "MariaDB",
      "description": "Root password.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "MariaDB",
      "description": "Seconds MariaDB gets to shut down cleanly on a redeploy.",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "PORT",
      "service": "Panel",
      "description": "Port of the panel's web server. Do not change.",
      "secret": false,
      "strategy": "default",
      "default": "80"
    },
    {
      "key": "APP_ENV",
      "service": "Panel",
      "description": "Laravel environment. Do not change.",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "APP_KEY",
      "service": "Panel",
      "description": "Encrypts stored secrets such as node tokens. Never change it after the first boot.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "APP_URL",
      "service": "Panel",
      "description": "Public address of the panel. Wings nodes call back to it. Change it to https://your-domain after adding a custom domain.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "DB_HOST",
      "service": "Panel",
      "description": "MariaDB host on the private network.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "DB_PORT",
      "service": "Panel",
      "description": "MariaDB port.",
      "secret": false,
      "strategy": "default",
      "default": "3306"
    },
    {
      "key": "REDIS_HOST",
      "service": "Panel",
      "description": "Redis host on the private network.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDIS_PORT",
      "service": "Panel",
      "description": "Redis port.",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "ADMIN_EMAIL",
      "service": "Panel",
      "description": "Email of the first admin account, created on first boot. You log in with it.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "DB_DATABASE",
      "service": "Panel",
      "description": "Database name.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_PASSWORD",
      "service": "Panel",
      "description": "Database password.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_USERNAME",
      "service": "Panel",
      "description": "Database user.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "LOG_CHANNEL",
      "service": "Panel",
      "description": "Sends the panel's logs to Railway's log view. Do not change: the default log file ends up owned by root and breaks the panel.",
      "secret": false,
      "strategy": "default",
      "default": "stderr"
    },
    {
      "key": "MAIL_MAILER",
      "service": "Panel",
      "description": "log writes emails to the log instead of sending them. Set up SMTP later under Admin â†’ Settings â†’ Mail.",
      "secret": false,
      "strategy": "default",
      "default": "log"
    },
    {
      "key": "APP_TIMEZONE",
      "service": "Panel",
      "description": "Timezone for schedules and logs, e.g. Europe/Warsaw.",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "CACHE_DRIVER",
      "service": "Panel",
      "description": "Cache in Redis. Do not change.",
      "secret": false,
      "strategy": "default",
      "default": "redis"
    },
    {
      "key": "HASHIDS_SALT",
      "service": "Panel",
      "description": "Salt for the short server ids in URLs. Never change it after the first boot.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DB_CONNECTION",
      "service": "Panel",
      "description": "Database driver. Do not change.",
      "secret": false,
      "strategy": "default",
      "default": "mysql"
    },
    {
      "key": "ADMIN_PASSWORD",
      "service": "Panel",
      "description": "Password of the first admin account. Generated for you; change it in the panel after logging in.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "ADMIN_USERNAME",
      "service": "Panel",
      "description": "Username of the first admin account.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "HASHIDS_LENGTH",
      "service": "Panel",
      "description": "Length of the short server ids.",
      "secret": false,
      "strategy": "default",
      "default": "8"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Panel",
      "description": "Redis password.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SESSION_DRIVER",
      "service": "Panel",
      "description": "Sessions in Redis. Do not change.",
      "secret": false,
      "strategy": "default",
      "default": "redis"
    },
    {
      "key": "TRUSTED_PROXIES",
      "service": "Panel",
      "description": "Trusts Railway's proxy, so the panel sees https and real client addresses. Do not change.",
      "secret": false,
      "strategy": "default",
      "default": "*"
    },
    {
      "key": "QUEUE_CONNECTION",
      "service": "Panel",
      "description": "Job queue in Redis. Do not change.",
      "secret": false,
      "strategy": "default",
      "default": "redis"
    },
    {
      "key": "APP_ENVIRONMENT_ONLY",
      "service": "Panel",
      "description": "false lets the admin area save settings such as mail to the database.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "pterodactyl-server-panel"
      }
    },
    "cli": "railway deploy --template pterodactyl-server-panel",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "fa4b14cd-ff91-4191-b8a4-d1471ce47c71",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "3bebfaa6-d9ed-41ee-9d10-35fbf0263d1e": {
                  "icon": "https://devicons.railway.app/i/redis.svg",
                  "name": "Redis",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save '' --appendonly no\"",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:8.10.3-alpine"
                  },
                  "variables": {
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Redis password.",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  }
                },
                "6c582c30-956e-4b55-8fa0-791cbc91ac88": {
                  "icon": "https://raw.githubusercontent.com/devicons/devicon/master/icons/mariadb/mariadb-original.svg",
                  "name": "MariaDB",
                  "deploy": {
                    "startCommand": "docker-entrypoint.sh mariadbd --datadir=/var/lib/mysql/data --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "mariadb:11.8.9"
                  },
                  "variables": {
                    "MARIADB_USER": {
                      "isOptional": false,
                      "description": "User for the panel.",
                      "defaultValue": "pterodactyl"
                    },
                    "MARIADB_DATABASE": {
                      "isOptional": false,
                      "description": "Database for the panel.",
                      "defaultValue": "panel"
                    },
                    "MARIADB_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for the panel's user.",
                      "defaultValue": "{{MARIADB_PASSWORD}}"
                    },
                    "MARIADB_ROOT_PASSWORD": {
                      "isOptional": false,
                      "description": "Root password.",
                      "defaultValue": "{{MARIADB_ROOT_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Seconds MariaDB gets to shut down cleanly on a redeploy.",
                      "defaultValue": "60"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "b4d8fe77-dccb-407e-a7f4-73b6c3ca02e4": {
                      "mountPath": "/var/lib/mysql"
                    }
                  }
                },
                "917506b4-c408-4f8e-87f0-1c3f195ed724": {
                  "icon": "https://raw.githubusercontent.com/pterodactyl/panel/v1.15.2/public/favicons/android-chrome-512x512.png",
                  "name": "Panel",
                  "deploy": {
                    "healthcheckPath": "/auth/login",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/two-workspaces/pterodactyl:96856a6"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port of the panel's web server. Do not change.",
                      "defaultValue": "80"
                    },
                    "APP_ENV": {
                      "isOptional": false,
                      "description": "Laravel environment. Do not change.",
                      "defaultValue": "production"
                    },
                    "APP_KEY": {
                      "isOptional": false,
                      "description": "Encrypts stored secrets such as node tokens. Never change it after the first boot.",
                      "defaultValue": "{{APP_KEY}}"
                    },
                    "APP_URL": {
                      "isOptional": false,
                      "description": "Public address of the panel. Wings nodes call back to it. Change it to https://your-domain after adding a custom domain.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "DB_HOST": {
                      "isOptional": false,
                      "description": "MariaDB host on the private network.",
                      "defaultValue": "${{MariaDB.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "DB_PORT": {
                      "isOptional": false,
                      "description": "MariaDB port.",
                      "defaultValue": "3306"
                    },
                    "REDIS_HOST": {
                      "isOptional": false,
                      "description": "Redis host on the private network.",
                      "defaultValue": "${{Redis.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDIS_PORT": {
                      "isOptional": false,
                      "description": "Redis port.",
                      "defaultValue": "6379"
                    },
                    "ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "Email of the first admin account, created on first boot. You log in with it.",
                      "defaultValue": "{{ADMIN_EMAIL}}"
                    },
                    "DB_DATABASE": {
                      "isOptional": false,
                      "description": "Database name.",
                      "defaultValue": "${{MariaDB.MARIADB_DATABASE}}"
                    },
                    "DB_PASSWORD": {
                      "isOptional": false,
                      "description": "Database password.",
                      "defaultValue": "${{MariaDB.MARIADB_PASSWORD}}"
                    },
                    "DB_USERNAME": {
                      "isOptional": false,
                      "description": "Database user.",
                      "defaultValue": "${{MariaDB.MARIADB_USER}}"
                    },
                    "LOG_CHANNEL": {
                      "isOptional": false,
                      "description": "Sends the panel's logs to Railway's log view. Do not change: the default log file ends up owned by root and breaks the panel.",
                      "defaultValue": "stderr"
                    },
                    "MAIL_MAILER": {
                      "isOptional": false,
                      "description": "log writes emails to the log instead of sending them. Set up SMTP later under Admin â†’ Settings â†’ Mail.",
                      "defaultValue": "log"
                    },
                    "APP_TIMEZONE": {
                      "isOptional": false,
                      "description": "Timezone for schedules and logs, e.g. Europe/Warsaw.",
                      "defaultValue": "UTC"
                    },
                    "CACHE_DRIVER": {
                      "isOptional": false,
                      "description": "Cache in Redis. Do not change.",
                      "defaultValue": "redis"
                    },
                    "HASHIDS_SALT": {
                      "isOptional": false,
                      "description": "Salt for the short server ids in URLs. Never change it after the first boot.",
                      "defaultValue": "{{HASHIDS_SALT}}"
                    },
                    "DB_CONNECTION": {
                      "isOptional": false,
                      "description": "Database driver. Do not change.",
                      "defaultValue": "mysql"
                    },
                    "ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Password of the first admin account. Generated for you; change it in the panel after logging in.",
                      "defaultValue": "{{ADMIN_PASSWORD}}"
                    },
                    "ADMIN_USERNAME": {
                      "isOptional": false,
                      "description": "Username of the first admin account.",
                      "defaultValue": "admin"
                    },
                    "HASHIDS_LENGTH": {
                      "isOptional": false,
                      "description": "Length of the short server ids.",
                      "defaultValue": "8"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Redis password.",
                      "defaultValue": "${{Redis.REDIS_PASSWORD}}"
                    },
                    "SESSION_DRIVER": {
                      "isOptional": false,
                      "description": "Sessions in Redis. Do not change.",
                      "defaultValue": "redis"
                    },
                    "TRUSTED_PROXIES": {
                      "isOptional": false,
                      "description": "Trusts Railway's proxy, so the panel sees https and real client addresses. Do not change.",
                      "defaultValue": "*"
                    },
                    "QUEUE_CONNECTION": {
                      "isOptional": false,
                      "description": "Job queue in Redis. Do not change.",
                      "defaultValue": "redis"
                    },
                    "APP_ENVIRONMENT_ONLY": {
                      "isOptional": false,
                      "description": "false lets the admin area save settings such as mail to the database.",
                      "defaultValue": "false"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>:80": {
                        "port": 80
                      }
                    }
                  },
                  "volumeMounts": {
                    "c099a658-9caa-42c1-a256-544715842884": {
                      "mountPath": "/app/var"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Panel",
      "method": "GET",
      "path": "/auth/login",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-11-07T16:15:10.050Z",
  "generator_version": "0.1.0"
}
