{
  "manifest_version": "1.0.0",
  "template": {
    "id": "9c11ca24-477a-4542-8282-59062b8563af",
    "slug": "wordpress-bitnami-1",
    "name": "wordpress-bitnami",
    "description": "Deploy and host wordpress on Railway using the Bitnami Wordpress Image",
    "url": "https://railway.com/deploy/wordpress-bitnami-1"
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "MySQL",
      "source": {
        "image": "mysql:9.4"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/mysql",
      "http": false
    },
    {
      "name": "wordpress",
      "source": {
        "image": "ghcr.io/daniakash/wordpress-bitnami:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/bitnami/wordpress",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "MYSQLHOST",
      "service": "MySQL",
      "description": "Provide a value for MYSQLHOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MYSQLPORT",
      "service": "MySQL",
      "description": "Provide a value for MYSQLPORT.",
      "secret": false,
      "strategy": "default",
      "default": "3306"
    },
    {
      "key": "MYSQLUSER",
      "service": "MySQL",
      "description": "Provide a value for MYSQLUSER.",
      "secret": false,
      "strategy": "default",
      "default": "root"
    },
    {
      "key": "MYSQL_URL",
      "service": "MySQL",
      "description": "Provide a value for MYSQL_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MYSQLDATABASE",
      "service": "MySQL",
      "description": "Provide a value for MYSQLDATABASE.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MYSQLPASSWORD",
      "service": "MySQL",
      "description": "Provide a value for MYSQLPASSWORD.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MYSQL_DATABASE",
      "service": "MySQL",
      "description": "Provide a value for MYSQL_DATABASE.",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "MYSQL_PUBLIC_URL",
      "service": "MySQL",
      "description": "Provide a value for MYSQL_PUBLIC_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MYSQL_ROOT_PASSWORD",
      "service": "MySQL",
      "description": "Provide a value for MYSQL_ROOT_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "WORDPRESS_EMAIL",
      "service": "wordpress",
      "description": "Email address for the admin account. Used for password resets, admin notifications (comments, updates, security alerts), and as the default site admin contact.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "WORDPRESS_PASSWORD",
      "service": "wordpress",
      "description": "Login password for the admin account. If not set, Bitnami generates a random one (check container logs).",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "WORDPRESS_USERNAME",
      "service": "wordpress",
      "description": "Login username for the admin account. This is what you type in the \"Username\" field on the login page.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "WORDPRESS_BLOG_NAME",
      "service": "wordpress",
      "description": "The site title. Appears in the browser tab, header (depending on theme), SEO titles, and admin dashboard. This is what you'd set in Settings → General → Site Title.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "WORDPRESS_LAST_NAME",
      "service": "wordpress",
      "description": "Last name on the admin user's profile. Combined with first name for the full display name shown on posts and in the admin UI.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "WORDPRESS_FIRST_NAME",
      "service": "wordpress",
      "description": "First name on the admin user's profile. Appears in the display name, post author bylines, and the \"Howdy, [name]\" greeting in the dashboard.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "WORDPRESS_DATABASE_HOST",
      "service": "wordpress",
      "description": "Provide a value for WORDPRESS_DATABASE_HOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "WORDPRESS_DATABASE_NAME",
      "service": "wordpress",
      "description": "Provide a value for WORDPRESS_DATABASE_NAME.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "WORDPRESS_DATABASE_USER",
      "service": "wordpress",
      "description": "Provide a value for WORDPRESS_DATABASE_USER.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "WORDPRESS_DATABASE_PASSWORD",
      "service": "wordpress",
      "description": "Provide a value for WORDPRESS_DATABASE_PASSWORD.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "WORDPRESS_DATABASE_PORT_NUMBER",
      "service": "wordpress",
      "description": "Provide a value for WORDPRESS_DATABASE_PORT_NUMBER.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "wordpress-bitnami-1"
      }
    },
    "cli": "railway deploy --template wordpress-bitnami-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "9c11ca24-477a-4542-8282-59062b8563af",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "3688bcc1-cc1d-457e-a7a5-3aa9bc2949e7": {
                  "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 --innodb-buffer-pool-size=1G",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "mysql:9.4"
                  },
                  "variables": {
                    "MYSQLHOST": {
                      "isOptional": false,
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "MYSQLPORT": {
                      "isOptional": false,
                      "defaultValue": "3306"
                    },
                    "MYSQLUSER": {
                      "isOptional": false,
                      "defaultValue": "root"
                    },
                    "MYSQL_URL": {
                      "isOptional": false,
                      "defaultValue": "mysql://${{MYSQLUSER}}:${{MYSQL_ROOT_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:3306/${{MYSQL_DATABASE}}"
                    },
                    "MYSQLDATABASE": {
                      "isOptional": false,
                      "defaultValue": "${{MYSQL_DATABASE}}"
                    },
                    "MYSQLPASSWORD": {
                      "isOptional": false,
                      "defaultValue": "${{MYSQL_ROOT_PASSWORD}}"
                    },
                    "MYSQL_DATABASE": {
                      "isOptional": false,
                      "defaultValue": "railway"
                    },
                    "MYSQL_PUBLIC_URL": {
                      "isOptional": false,
                      "defaultValue": "mysql://${{MYSQLUSER}}:${{MYSQL_ROOT_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}/${{MYSQL_DATABASE}}"
                    },
                    "MYSQL_ROOT_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{MYSQL_ROOT_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "3688bcc1-cc1d-457e-a7a5-3aa9bc2949e7": {
                      "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
                    ]
                  }
                },
                "aa98193d-8bec-41bd-b9c1-c08c46978eff": {
                  "icon": null,
                  "name": "wordpress",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/daniakash/wordpress-bitnami:latest"
                  },
                  "variables": {
                    "WORDPRESS_EMAIL": {
                      "isOptional": false,
                      "description": "Email address for the admin account. Used for password resets, admin notifications (comments, updates, security alerts), and as the default site admin contact.",
                      "defaultValue": "{{WORDPRESS_EMAIL}}"
                    },
                    "WORDPRESS_PASSWORD": {
                      "isOptional": false,
                      "description": "Login password for the admin account. If not set, Bitnami generates a random one (check container logs).",
                      "defaultValue": "{{WORDPRESS_PASSWORD}}"
                    },
                    "WORDPRESS_USERNAME": {
                      "isOptional": false,
                      "description": "Login username for the admin account. This is what you type in the \"Username\" field on the login page.",
                      "defaultValue": "{{WORDPRESS_USERNAME}}"
                    },
                    "WORDPRESS_BLOG_NAME": {
                      "isOptional": false,
                      "description": "The site title. Appears in the browser tab, header (depending on theme), SEO titles, and admin dashboard. This is what you'd set in Settings → General → Site Title.",
                      "defaultValue": "{{WORDPRESS_BLOG_NAME}}"
                    },
                    "WORDPRESS_LAST_NAME": {
                      "isOptional": false,
                      "description": "Last name on the admin user's profile. Combined with first name for the full display name shown on posts and in the admin UI.",
                      "defaultValue": "{{WORDPRESS_LAST_NAME}}"
                    },
                    "WORDPRESS_FIRST_NAME": {
                      "isOptional": false,
                      "description": "First name on the admin user's profile. Appears in the display name, post author bylines, and the \"Howdy, [name]\" greeting in the dashboard.",
                      "defaultValue": "{{WORDPRESS_FIRST_NAME}}"
                    },
                    "WORDPRESS_DATABASE_HOST": {
                      "isOptional": false,
                      "defaultValue": "${{MySQL.MYSQLHOST}}"
                    },
                    "WORDPRESS_DATABASE_NAME": {
                      "isOptional": false,
                      "defaultValue": "${{MySQL.MYSQL_DATABASE}}"
                    },
                    "WORDPRESS_DATABASE_USER": {
                      "isOptional": false,
                      "defaultValue": "${{MySQL.MYSQLUSER}}"
                    },
                    "WORDPRESS_DATABASE_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "${{MySQL.MYSQL_ROOT_PASSWORD}}"
                    },
                    "WORDPRESS_DATABASE_PORT_NUMBER": {
                      "isOptional": false,
                      "defaultValue": "${{MySQL.MYSQLPORT}}"
                    }
                  },
                  "volumeMounts": {
                    "aa98193d-8bec-41bd-b9c1-c08c46978eff": {
                      "mountPath": "/bitnami/wordpress"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0"
}
