{
  "manifest_version": "1.0.0",
  "template": {
    "id": "2e757ce8-513f-42d7-8cb4-e8a06ba1ef94",
    "slug": "cms-wordpress-powered-by-sopan",
    "name": "CMS Wordpress Powered by SOPAN",
    "description": "WordPress siap pakai dengan database MySQL terhubung otomatis.",
    "url": "https://railway.com/deploy/cms-wordpress-powered-by-sopan",
    "upstream": {
      "image": "ghcr.io/daniakash/wordpress-bitnami:latest"
    }
  },
  "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-tkGV",
      "source": {
        "image": "ghcr.io/daniakash/wordpress-bitnami:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/bitnami/wordpress",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "MYSQLHOST",
      "service": "MySQL",
      "description": "Internal hostname used to connect to this database from other services in the same project (private network).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MYSQLPORT",
      "service": "MySQL",
      "description": "Port used for MySQL connections, default 3306.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "MYSQLUSER",
      "service": "MySQL",
      "description": "Username for authenticating with the MySQL database.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "MYSQL_URL",
      "service": "MySQL",
      "description": "Full connection string to the database, used over Railway's private network between services.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MYSQLDATABASE",
      "service": "MySQL",
      "description": "Name of the database used by the application.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MYSQLPASSWORD",
      "service": "MySQL",
      "description": "Password for authenticating the MySQL user.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MYSQL_DATABASE",
      "service": "MySQL",
      "description": "Name of the database automatically created on deploy.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "MYSQL_PUBLIC_URL",
      "service": "MySQL",
      "description": "Public connection string for accessing the database from outside Railway's network (e.g. local tools).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MYSQL_ROOT_PASSWORD",
      "service": "MySQL",
      "description": "Root password for MySQL, used for authentication and advanced database administration.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "WORDPRESS_EMAIL",
      "service": "wordpress-tkGV",
      "description": "Email address for the WordPress admin account.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "WORDPRESS_PASSWORD",
      "service": "wordpress-tkGV",
      "description": "Password for the WordPress admin account.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "WORDPRESS_USERNAME",
      "service": "wordpress-tkGV",
      "description": "Username used to log in to the WordPress admin dashboard (/wp-admin).",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "WORDPRESS_BLOG_NAME",
      "service": "wordpress-tkGV",
      "description": "Site name displayed as the website title.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "WORDPRESS_LAST_NAME",
      "service": "wordpress-tkGV",
      "description": "Last name of the admin account owner.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "WORDPRESS_FIRST_NAME",
      "service": "wordpress-tkGV",
      "description": "First name of the admin account owner.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "WORDPRESS_DATABASE_HOST",
      "service": "wordpress-tkGV",
      "description": "Hostname of the MySQL database, connected over Railway's private network to the MySQL service.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "WORDPRESS_DATABASE_NAME",
      "service": "wordpress-tkGV",
      "description": "Name of the MySQL database used by WordPress.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "WORDPRESS_DATABASE_USER",
      "service": "wordpress-tkGV",
      "description": "Username used by WordPress to connect to the MySQL database.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "WORDPRESS_DATABASE_PASSWORD",
      "service": "wordpress-tkGV",
      "description": "Password used by WordPress to connect to the MySQL database.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "WORDPRESS_DATABASE_PORT_NUMBER",
      "service": "wordpress-tkGV",
      "description": "Port used to connect to the MySQL database, default 3306.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "cms-wordpress-powered-by-sopan"
      }
    },
    "cli": "railway deploy --template cms-wordpress-powered-by-sopan",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "2e757ce8-513f-42d7-8cb4-e8a06ba1ef94",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "23a4c8fb-55bc-4c6d-8cef-8590b9b462d6": {
                  "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,
                      "description": "Internal hostname used to connect to this database from other services in the same project (private network).",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "MYSQLPORT": {
                      "isOptional": false,
                      "description": "Port used for MySQL connections, default 3306.",
                      "defaultValue": "{{MYSQLPORT}}"
                    },
                    "MYSQLUSER": {
                      "isOptional": false,
                      "description": "Username for authenticating with the MySQL database.",
                      "defaultValue": "{{MYSQLUSER}}"
                    },
                    "MYSQL_URL": {
                      "isOptional": false,
                      "description": "Full connection string to the database, used over Railway's private network between services.",
                      "defaultValue": "mysql://${{MYSQLUSER}}:${{MYSQL_ROOT_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:3306/${{MYSQL_DATABASE}}"
                    },
                    "MYSQLDATABASE": {
                      "isOptional": false,
                      "description": "Name of the database used by the application.",
                      "defaultValue": "${{MYSQL_DATABASE}}"
                    },
                    "MYSQLPASSWORD": {
                      "isOptional": false,
                      "description": "Password for authenticating the MySQL user.",
                      "defaultValue": "${{MYSQL_ROOT_PASSWORD}}"
                    },
                    "MYSQL_DATABASE": {
                      "isOptional": false,
                      "description": "Name of the database automatically created on deploy.",
                      "defaultValue": "{{MYSQL_DATABASE}}"
                    },
                    "MYSQL_PUBLIC_URL": {
                      "isOptional": false,
                      "description": "Public connection string for accessing the database from outside Railway's network (e.g. local tools).",
                      "defaultValue": "mysql://${{MYSQLUSER}}:${{MYSQL_ROOT_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}/${{MYSQL_DATABASE}}"
                    },
                    "MYSQL_ROOT_PASSWORD": {
                      "isOptional": false,
                      "description": "Root password for MySQL, used for authentication and advanced database administration.",
                      "defaultValue": "{{MYSQL_ROOT_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "23a4c8fb-55bc-4c6d-8cef-8590b9b462d6": {
                      "mountPath": "/var/lib/mysql"
                    }
                  }
                },
                "b3b80a8f-0735-4c08-b3ad-d2db004fce79": {
                  "icon": "https://raw.githubusercontent.com/nafhansa/Icon-Projects/main/logo-sprinkle-mark.png",
                  "name": "wordpress-tkGV",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/daniakash/wordpress-bitnami:latest"
                  },
                  "variables": {
                    "WORDPRESS_EMAIL": {
                      "isOptional": false,
                      "description": "Email address for the WordPress admin account.",
                      "defaultValue": "{{WORDPRESS_EMAIL}}"
                    },
                    "WORDPRESS_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for the WordPress admin account.",
                      "defaultValue": "{{WORDPRESS_PASSWORD}}"
                    },
                    "WORDPRESS_USERNAME": {
                      "isOptional": false,
                      "description": "Username used to log in to the WordPress admin dashboard (/wp-admin).",
                      "defaultValue": "{{WORDPRESS_USERNAME}}"
                    },
                    "WORDPRESS_BLOG_NAME": {
                      "isOptional": false,
                      "description": "Site name displayed as the website title.",
                      "defaultValue": "{{WORDPRESS_BLOG_NAME}}"
                    },
                    "WORDPRESS_LAST_NAME": {
                      "isOptional": false,
                      "description": "Last name of the admin account owner.",
                      "defaultValue": "{{WORDPRESS_LAST_NAME}}"
                    },
                    "WORDPRESS_FIRST_NAME": {
                      "isOptional": false,
                      "description": "First name of the admin account owner.",
                      "defaultValue": "{{WORDPRESS_FIRST_NAME}}"
                    },
                    "WORDPRESS_DATABASE_HOST": {
                      "isOptional": false,
                      "description": "Hostname of the MySQL database, connected over Railway's private network to the MySQL service.",
                      "defaultValue": "${{MySQL.MYSQLHOST}}"
                    },
                    "WORDPRESS_DATABASE_NAME": {
                      "isOptional": false,
                      "description": "Name of the MySQL database used by WordPress.",
                      "defaultValue": "${{MySQL.MYSQL_DATABASE}}"
                    },
                    "WORDPRESS_DATABASE_USER": {
                      "isOptional": false,
                      "description": "Username used by WordPress to connect to the MySQL database.",
                      "defaultValue": "${{MySQL.MYSQLUSER}}"
                    },
                    "WORDPRESS_DATABASE_PASSWORD": {
                      "isOptional": false,
                      "description": "Password used by WordPress to connect to the MySQL database.",
                      "defaultValue": "${{MySQL.MYSQL_ROOT_PASSWORD}}"
                    },
                    "WORDPRESS_DATABASE_PORT_NUMBER": {
                      "isOptional": false,
                      "description": "Port used to connect to the MySQL database, default 3306.",
                      "defaultValue": "${{MySQL.MYSQLPORT}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "b3b80a8f-0735-4c08-b3ad-d2db004fce79": {
                      "mountPath": "/bitnami/wordpress"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "wordpress-tkGV",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-08T18:46:46.960Z",
  "generator_version": "0.1.0"
}
