{
  "manifest_version": "1.0.0",
  "template": {
    "id": "4e6b12ae-aeab-4fcf-9606-06498214dc1c",
    "slug": "erpnext-v16-or-odoo-alternative-2-servic",
    "name": "ERPNext | (Just Updated) Odoo Alternative, 2 Services Not 4, No Build Step",
    "description": "Odoo alternative in 2 services, prebuilt images, no build minutes",
    "url": "https://railway.com/deploy/erpnext-v16-or-odoo-alternative-2-servic",
    "upstream": {
      "image": "ghcr.io/bon5co/erpnext-railway:latest"
    }
  },
  "services": [
    {
      "name": "mariadb",
      "source": {
        "image": "ghcr.io/bon5co/erpnext-railway-mariadb:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/mysql",
      "http": false
    },
    {
      "name": "erpnext",
      "source": {
        "image": "ghcr.io/bon5co/erpnext-railway:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/home/frappe/frappe-bench/sites",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "MARIADB_ROOT_PASSWORD",
      "service": "mariadb",
      "description": "Provide a value for MARIADB_ROOT_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DB_HOST",
      "service": "erpnext",
      "description": "Provide a value for DB_HOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "ADMIN_PASSWORD",
      "service": "erpnext",
      "description": "Provide a value for ADMIN_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DB_ROOT_PASSWORD",
      "service": "erpnext",
      "description": "Provide a value for DB_ROOT_PASSWORD.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "erpnext-v16-or-odoo-alternative-2-servic"
      }
    },
    "cli": "railway deploy --template erpnext-v16-or-odoo-alternative-2-servic",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "4e6b12ae-aeab-4fcf-9606-06498214dc1c",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "bcfa5428-fd9e-48ca-bc3e-fd32651777cc": {
                  "icon": null,
                  "name": "mariadb",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/bon5co/erpnext-railway-mariadb:latest"
                  },
                  "variables": {
                    "MARIADB_ROOT_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{MARIADB_ROOT_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "bcfa5428-fd9e-48ca-bc3e-fd32651777cc": {
                      "mountPath": "/var/lib/mysql"
                    }
                  }
                },
                "e2b4bfd2-4dd6-46ac-9548-8a7f8c510b7f": {
                  "icon": null,
                  "name": "erpnext",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/bon5co/erpnext-railway:latest"
                  },
                  "variables": {
                    "DB_HOST": {
                      "isOptional": false,
                      "defaultValue": "${{mariadb.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "ADMIN_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{ADMIN_PASSWORD}}"
                    },
                    "DB_ROOT_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "${{mariadb.MARIADB_ROOT_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "e2b4bfd2-4dd6-46ac-9548-8a7f8c510b7f": {
                      "mountPath": "/home/frappe/frappe-bench/sites"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-19T04:14:37.968Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-17T16:10:44.808Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_78e92ddc35dc48a286c3",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 93,
    "typical_build_seconds": 0,
    "typical_start_seconds": 30,
    "slowest_service": "erpnext"
  }
}
