{
  "manifest_version": "1.0.0",
  "template": {
    "id": "cea1e7cf-5019-45f6-bc69-c67241694aac",
    "slug": "akaunting-or-just-updated-quickbooks-alt",
    "name": "Akaunting | (Just Updated) QuickBooks Alternative Whose Recurring Invoices Actually Run",
    "description": "Books that actually run recurring invoices. Volumes, admin seeded.",
    "url": "https://railway.com/deploy/akaunting-or-just-updated-quickbooks-alt",
    "upstream": {
      "image": "ghcr.io/bon5co/akaunting-railway:3.1.21"
    }
  },
  "services": [
    {
      "name": "akaunting",
      "source": {
        "image": "ghcr.io/bon5co/akaunting-railway:3.1.21"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/www/html",
      "http": true
    },
    {
      "name": "mariadb",
      "source": {
        "image": "ghcr.io/bon5co/akaunting-railway-mariadb:11.8.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/mysql",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "APP_URL",
      "service": "akaunting",
      "description": "Provide a value for APP_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "DB_HOST",
      "service": "akaunting",
      "description": "Provide a value for DB_HOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "DB_PASSWORD",
      "service": "akaunting",
      "description": "Provide a value for DB_PASSWORD.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ADMIN_PASSWORD",
      "service": "akaunting",
      "description": "Provide a value for ADMIN_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "MARIADB_PASSWORD",
      "service": "mariadb",
      "description": "Provide a value for MARIADB_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "MARIADB_ROOT_PASSWORD",
      "service": "mariadb",
      "description": "Provide a value for MARIADB_ROOT_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "akaunting-or-just-updated-quickbooks-alt"
      }
    },
    "cli": "railway deploy --template akaunting-or-just-updated-quickbooks-alt",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "cea1e7cf-5019-45f6-bc69-c67241694aac",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "8d7695fe-9210-4f23-91cc-536d28acdc8f": {
                  "icon": null,
                  "name": "akaunting",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/bon5co/akaunting-railway:3.1.21"
                  },
                  "variables": {
                    "APP_URL": {
                      "isOptional": false,
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "DB_HOST": {
                      "isOptional": false,
                      "defaultValue": "${{mariadb.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "DB_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "${{mariadb.MARIADB_PASSWORD}}"
                    },
                    "ADMIN_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{ADMIN_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "8d7695fe-9210-4f23-91cc-536d28acdc8f": {
                      "mountPath": "/var/www/html"
                    }
                  }
                },
                "e5f072f6-f352-4eea-a1e5-3e9e9977d569": {
                  "icon": null,
                  "name": "mariadb",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/bon5co/akaunting-railway-mariadb:11.8.2"
                  },
                  "variables": {
                    "MARIADB_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{MARIADB_PASSWORD}}"
                    },
                    "MARIADB_ROOT_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{MARIADB_ROOT_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "e5f072f6-f352-4eea-a1e5-3e9e9977d569": {
                      "mountPath": "/var/lib/mysql"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "akaunting",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-19T16:14:39.735Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T19:36:27.887Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_009de08bee5846d0ac6d",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 91,
    "typical_build_seconds": 0,
    "typical_start_seconds": 31,
    "slowest_service": "akaunting"
  }
}
