{
  "manifest_version": "1.0.0",
  "template": {
    "id": "eaebef5e-0968-4edd-ac41-609168f1cf27",
    "slug": "VPihOQ",
    "name": "Family Circle",
    "description": "Spring Boot 2.3.0.RELEASE + MySQL",
    "url": "https://railway.com/deploy/VPihOQ",
    "upstream": {
      "repo_url": "https://github.com/Sirenef/social-networking-api"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "MySQL",
      "source": {
        "image": "mysql"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/mysql",
      "http": false
    },
    {
      "name": "social-networking-api",
      "source": {
        "repo": "https://github.com/Sirenef/social-networking-api"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "MYSQLUSER",
      "service": "MySQL",
      "description": "Provide a value for MYSQLUSER.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "MYSQL_URL",
      "service": "MySQL",
      "description": "Provide a value for MYSQL_URL.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "MYSQL_DATABASE",
      "service": "MySQL",
      "description": "Provide a value for MYSQL_DATABASE.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "MYSQL_PRIVATE_URL",
      "service": "MySQL",
      "description": "Provide a value for MYSQL_PRIVATE_URL.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "MYSQL_ROOT_PASSWORD",
      "service": "MySQL",
      "description": "Provide a value for MYSQL_ROOT_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "VPihOQ"
      }
    },
    "cli": "railway deploy --template VPihOQ",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "eaebef5e-0968-4edd-ac41-609168f1cf27",
            "serializedConfig": {
              "services": {
                "189125bb-1544-4655-b64a-e70ad6cf3745": {
                  "icon": "https://devicons.railway.app/i/mysql.svg",
                  "name": "MySQL",
                  "deploy": {
                    "startCommand": "docker-entrypoint.sh mysqld --innodb-use-native-aio=0 --disable-log-bin --performance_schema=0",
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "mysql"
                  },
                  "variables": {
                    "MYSQLUSER": {
                      "isOptional": false,
                      "defaultValue": "{{MYSQLUSER}}"
                    },
                    "MYSQL_URL": {
                      "isOptional": false,
                      "defaultValue": "{{MYSQL_URL}}"
                    },
                    "MYSQL_DATABASE": {
                      "isOptional": false,
                      "defaultValue": "{{MYSQL_DATABASE}}"
                    },
                    "MYSQL_PRIVATE_URL": {
                      "isOptional": false,
                      "defaultValue": "{{MYSQL_PRIVATE_URL}}"
                    },
                    "MYSQL_ROOT_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{MYSQL_ROOT_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "189125bb-1544-4655-b64a-e70ad6cf3745": {
                      "mountPath": "/var/lib/mysql"
                    }
                  },
                  "haTemplateCode": "mysql-ha",
                  "haConversionConfig": {
                    "edge": {
                      "label": "Reverse Proxies",
                      "options": [
                        1,
                        2
                      ],
                      "nodeLabel": "HAProxy",
                      "description": "HAProxy instances routing writes to the primary",
                      "defaultValue": 2
                    },
                    "replica": {
                      "label": "MySQL Replicas",
                      "options": [
                        2,
                        4,
                        6,
                        8
                      ],
                      "nodeLabel": "MySQL",
                      "description": "Requires odd count for quorum",
                      "defaultValue": 2
                    },
                    "internal": null,
                    "description": "This will convert your MySQL instance to an HA cluster with Group Replication failover and HAProxy routing to the primary.",
                    "supportedImageMajorVersions": [
                      8,
                      9
                    ]
                  }
                },
                "954817e6-e008-4745-9d53-429f26444e64": {
                  "icon": null,
                  "name": "social-networking-api",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "repo": "https://github.com/Sirenef/social-networking-api",
                    "rootDirectory": "/source/social-networking"
                  },
                  "variables": {},
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-22T16:14:56.866Z",
  "generator_version": "0.1.0"
}
