{
  "manifest_version": "1.0.0",
  "template": {
    "id": "8c4fe7a0-f0a8-46ee-876f-7483f53cd1c7",
    "slug": "xBNJ1u",
    "name": "Bluesky PDS",
    "description": "Bluesky PDS (Personal Data Server)",
    "url": "https://railway.com/deploy/xBNJ1u",
    "upstream": {
      "image": "ghcr.io/bluesky-social/pds:0.4"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "PDS",
      "source": {
        "image": "ghcr.io/bluesky-social/pds:0.4"
      },
      "needs_volume": true,
      "volume_mount_path": "/pds",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "LOG_ENABLED",
      "service": "PDS",
      "description": "Refer to the official installer.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "PDS_CRAWLERS",
      "service": "PDS",
      "description": "Refer to the official installer.",
      "secret": false,
      "strategy": "default",
      "default": "https://bsky.network"
    },
    {
      "key": "PDS_HOSTNAME",
      "service": "PDS",
      "description": "Enter the domain you want to use.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "PDS_JWT_SECRET",
      "service": "PDS",
      "description": "Refer to the official installer.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "PDS_DID_PLC_URL",
      "service": "PDS",
      "description": "Refer to the official installer.",
      "secret": false,
      "strategy": "default",
      "default": "https://plc.directory"
    },
    {
      "key": "PDS_ADMIN_PASSWORD",
      "service": "PDS",
      "description": "Refer to the official installer.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PDS_DATA_DIRECTORY",
      "service": "PDS",
      "description": "Refer to the official installer.",
      "secret": false,
      "strategy": "default",
      "default": "/pds"
    },
    {
      "key": "PDS_INVITE_REQUIRED",
      "service": "PDS",
      "description": "Refer to the official installer.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "PDS_BLOB_UPLOAD_LIMIT",
      "service": "PDS",
      "description": "Refer to the official installer.",
      "secret": false,
      "strategy": "default",
      "default": "314572800"
    },
    {
      "key": "PDS_BSKY_APP_VIEW_DID",
      "service": "PDS",
      "description": "Refer to the official installer.",
      "secret": false,
      "strategy": "default",
      "default": "did:web:api.bsky.app"
    },
    {
      "key": "PDS_BSKY_APP_VIEW_URL",
      "service": "PDS",
      "description": "Refer to the official installer.",
      "secret": false,
      "strategy": "default",
      "default": "https://api.bsky.app"
    },
    {
      "key": "PDS_REPORT_SERVICE_DID",
      "service": "PDS",
      "description": "Refer to the official installer.",
      "secret": false,
      "strategy": "default",
      "default": "did:plc:ar7c4by46qjdydhdevvrndac"
    },
    {
      "key": "PDS_REPORT_SERVICE_URL",
      "service": "PDS",
      "description": "Refer to the official installer.",
      "secret": false,
      "strategy": "default",
      "default": "https://mod.bsky.app"
    },
    {
      "key": "PDS_RATE_LIMITS_ENABLED",
      "service": "PDS",
      "description": "Refer to the official installer.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "PDS_BLOBSTORE_DISK_LOCATION",
      "service": "PDS",
      "description": "Refer to the official installer.",
      "secret": false,
      "strategy": "default",
      "default": "/pds/blocks"
    },
    {
      "key": "PDS_PLC_ROTATION_KEY_K256_PRIVATE_KEY_HEX",
      "service": "PDS",
      "description": "Generate it with `openssl ecparam --name secp256k1 --genkey --noout --outform DER | tail --bytes=+8 | head --bytes=32 | xxd --plain --cols 32`",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "xBNJ1u"
      }
    },
    "cli": "railway deploy --template xBNJ1u",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "8c4fe7a0-f0a8-46ee-876f-7483f53cd1c7",
            "serializedConfig": {
              "services": {
                "3c058810-31fb-4acf-b063-66e00cebb38c": {
                  "icon": "https://raw.githubusercontent.com/bluesky-social/social-app/refs/heads/main/assets/favicon.png",
                  "name": "PDS",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "ghcr.io/bluesky-social/pds:0.4"
                  },
                  "variables": {
                    "LOG_ENABLED": {
                      "isOptional": false,
                      "description": "Refer to the official installer.",
                      "defaultValue": "true"
                    },
                    "PDS_CRAWLERS": {
                      "isOptional": false,
                      "description": "Refer to the official installer.",
                      "defaultValue": "https://bsky.network"
                    },
                    "PDS_HOSTNAME": {
                      "isOptional": false,
                      "description": "Enter the domain you want to use.",
                      "defaultValue": "{{PDS_HOSTNAME}}"
                    },
                    "PDS_JWT_SECRET": {
                      "isOptional": false,
                      "description": "Refer to the official installer.",
                      "defaultValue": "{{PDS_JWT_SECRET}}"
                    },
                    "PDS_DID_PLC_URL": {
                      "isOptional": false,
                      "description": "Refer to the official installer.",
                      "defaultValue": "https://plc.directory"
                    },
                    "PDS_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Refer to the official installer.",
                      "defaultValue": "{{PDS_ADMIN_PASSWORD}}"
                    },
                    "PDS_DATA_DIRECTORY": {
                      "isOptional": false,
                      "description": "Refer to the official installer.",
                      "defaultValue": "/pds"
                    },
                    "PDS_EMAIL_SMTP_URL": {
                      "isOptional": true,
                      "description": "(Optional) Example: smtps://resend:<your api key here>@smtp.resend.com:465/",
                      "defaultValue": ""
                    },
                    "PDS_INVITE_REQUIRED": {
                      "description": "Refer to the official installer.",
                      "defaultValue": "true"
                    },
                    "PDS_BLOB_UPLOAD_LIMIT": {
                      "isOptional": false,
                      "description": "Refer to the official installer.",
                      "defaultValue": "314572800"
                    },
                    "PDS_BSKY_APP_VIEW_DID": {
                      "isOptional": false,
                      "description": "Refer to the official installer.",
                      "defaultValue": "did:web:api.bsky.app"
                    },
                    "PDS_BSKY_APP_VIEW_URL": {
                      "isOptional": false,
                      "description": "Refer to the official installer.",
                      "defaultValue": "https://api.bsky.app"
                    },
                    "PDS_EMAIL_FROM_ADDRESS": {
                      "isOptional": true,
                      "description": "(Optional) Example: admin@your.domain",
                      "defaultValue": ""
                    },
                    "PDS_REPORT_SERVICE_DID": {
                      "isOptional": false,
                      "description": "Refer to the official installer.",
                      "defaultValue": "did:plc:ar7c4by46qjdydhdevvrndac"
                    },
                    "PDS_REPORT_SERVICE_URL": {
                      "isOptional": false,
                      "description": "Refer to the official installer.",
                      "defaultValue": "https://mod.bsky.app"
                    },
                    "PDS_RATE_LIMITS_ENABLED": {
                      "description": "Refer to the official installer.",
                      "defaultValue": "true"
                    },
                    "PDS_BLOBSTORE_DISK_LOCATION": {
                      "isOptional": false,
                      "description": "Refer to the official installer.",
                      "defaultValue": "/pds/blocks"
                    },
                    "PDS_PLC_ROTATION_KEY_K256_PRIVATE_KEY_HEX": {
                      "isOptional": false,
                      "description": "Generate it with `openssl ecparam --name secp256k1 --genkey --noout --outform DER | tail --bytes=+8 | head --bytes=32 | xxd --plain --cols 32`",
                      "defaultValue": "{{PDS_PLC_ROTATION_KEY_K256_PRIVATE_KEY_HEX}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "3c058810-31fb-4acf-b063-66e00cebb38c": {
                      "mountPath": "/pds"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-07T17:54:24.783Z",
  "generator_version": "0.1.0"
}
