{
  "manifest_version": "1.0.0",
  "template": {
    "id": "b1d8b6c2-205e-4efa-9bfb-973c58cd480a",
    "slug": "docuseal-or-just-updated-docusign-altern",
    "name": "DocuSeal | (Just Updated) DocuSign Alternative Nobody Else Can Claim, Documents Survive Redeploys",
    "description": "Self-hosted DocuSign alternative. Documents survive redeploys.",
    "url": "https://railway.com/deploy/docuseal-or-just-updated-docusign-altern",
    "upstream": {
      "image": "ghcr.io/bon5co/docuseal-railway:3.1.7"
    }
  },
  "services": [
    {
      "name": "postgres",
      "source": {
        "image": "postgres:17.10-trixie"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql",
      "http": false
    },
    {
      "name": "docuseal",
      "source": {
        "image": "ghcr.io/bon5co/docuseal-railway:3.1.7"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "POSTGRES_PASSWORD",
      "service": "postgres",
      "description": "Provide a value for POSTGRES_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "HOST",
      "service": "docuseal",
      "description": "Provide a value for HOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "APP_URL",
      "service": "docuseal",
      "description": "Provide a value for APP_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "DATABASE_URL",
      "service": "docuseal",
      "description": "Provide a value for DATABASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "SECRET_KEY_BASE",
      "service": "docuseal",
      "description": "Provide a value for SECRET_KEY_BASE.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DOCUSEAL_ADMIN_PASSWORD",
      "service": "docuseal",
      "description": "Provide a value for DOCUSEAL_ADMIN_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "docuseal-or-just-updated-docusign-altern"
      }
    },
    "cli": "railway deploy --template docuseal-or-just-updated-docusign-altern",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "b1d8b6c2-205e-4efa-9bfb-973c58cd480a",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "5595351f-cead-40b4-a2e6-30851bd0ed55": {
                  "icon": null,
                  "name": "postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "postgres:17.10-trixie"
                  },
                  "variables": {
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "5595351f-cead-40b4-a2e6-30851bd0ed55": {
                      "mountPath": "/var/lib/postgresql"
                    }
                  }
                },
                "a9c27165-55f5-430b-8509-8e866df3a4e9": {
                  "icon": null,
                  "name": "docuseal",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/up",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/bon5co/docuseal-railway:3.1.7"
                  },
                  "variables": {
                    "HOST": {
                      "isOptional": false,
                      "defaultValue": "${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "APP_URL": {
                      "isOptional": false,
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "defaultValue": "postgres://postgres:${{postgres.POSTGRES_PASSWORD}}@${{postgres.RAILWAY_PRIVATE_DOMAIN}}:5432/postgres"
                    },
                    "SECRET_KEY_BASE": {
                      "isOptional": false,
                      "defaultValue": "{{SECRET_KEY_BASE}}"
                    },
                    "DOCUSEAL_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{DOCUSEAL_ADMIN_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "a9c27165-55f5-430b-8509-8e866df3a4e9": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "docuseal",
      "method": "GET",
      "path": "/up",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T19:05:30.868Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_83eb76f08b184d14b59f",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 82,
    "typical_build_seconds": 0,
    "typical_start_seconds": 20,
    "slowest_service": "docuseal"
  }
}
