{
  "manifest_version": "1.0.0",
  "template": {
    "id": "0c3e8415-3be5-486c-bf7f-17b30603b882",
    "slug": "cw5DSn",
    "name": "Mixpost Pro",
    "description": "Self-hosted social media management",
    "url": "https://railway.com/deploy/cw5DSn",
    "upstream": {
      "image": "inovector/mixpost-pro-team:latest"
    }
  },
  "services": [
    {
      "name": "KeyDB",
      "source": {
        "image": "eqalpha/keydb:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "tcp_ports": [
        6379
      ],
      "http": false
    },
    {
      "name": "MySQL",
      "source": {
        "image": "mysql:9.4"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/mysql",
      "tcp_ports": [
        3306
      ],
      "http": false
    },
    {
      "name": "Mixpost",
      "source": {
        "image": "inovector/mixpost-pro-team:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/www/html/storage/app",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "KEYDB_URL",
      "service": "KeyDB",
      "description": "URL to connect to KeyDB over the private network",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KEYDB_HOST",
      "service": "KeyDB",
      "description": "Railway private domain name",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "KEYDB_PORT",
      "service": "KeyDB",
      "description": "Port to connect to KeyDB over the private network",
      "secret": true,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "KEYDB_USER",
      "service": "KeyDB",
      "description": "Default user to connect to KeyDB",
      "secret": true,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "KEYDB_PASSWORD",
      "service": "KeyDB",
      "description": "Password to connect to KeyDB",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "KEYDB_PUBLIC_URL",
      "service": "KeyDB",
      "description": "URL to connect to KeyDB Publically",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KEYDB_PUBLIC_HOST",
      "service": "KeyDB",
      "description": "Railway public TCP domain name",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KEYDB_PUBLIC_PORT",
      "service": "KeyDB",
      "description": "Port to connect to KeyDB Publically",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MYSQLHOST",
      "service": "MySQL",
      "description": "Railway Private Domain Name.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MYSQLPORT",
      "service": "MySQL",
      "description": "MySQL port.",
      "secret": false,
      "strategy": "default",
      "default": "3306"
    },
    {
      "key": "MYSQLUSER",
      "service": "MySQL",
      "description": "MySQL user, used for the Data panel.",
      "secret": false,
      "strategy": "default",
      "default": "root"
    },
    {
      "key": "MYSQL_URL",
      "service": "MySQL",
      "description": "URL to connect to MySQL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MYSQLDATABASE",
      "service": "MySQL",
      "description": "Default database, used for Data panel.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MYSQLPASSWORD",
      "service": "MySQL",
      "description": "Root password, used for Data panel.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MYSQL_DATABASE",
      "service": "MySQL",
      "description": "Database to be created on image startup.",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "MYSQL_PUBLIC_URL",
      "service": "MySQL",
      "description": "URL to connect to MySQL DB, used for Data panel.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MYSQL_ROOT_PASSWORD",
      "service": "MySQL",
      "description": "Root password for MySQL DB.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PORT",
      "service": "Mixpost",
      "description": "Port that Mixpost listens on",
      "secret": false,
      "strategy": "default",
      "default": "80"
    },
    {
      "key": "APP_KEY",
      "service": "Mixpost",
      "description": "Secret app key",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "APP_URL",
      "service": "Mixpost",
      "description": "Public app URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "DB_HOST",
      "service": "Mixpost",
      "description": "Private database host",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "DB_PORT",
      "service": "Mixpost",
      "description": "Private database port",
      "secret": false,
      "strategy": "default",
      "default": "3306"
    },
    {
      "key": "APP_NAME",
      "service": "Mixpost",
      "description": "App name",
      "secret": false,
      "strategy": "default",
      "default": "Mixpost"
    },
    {
      "key": "REDIS_HOST",
      "service": "Mixpost",
      "description": "Private KeyDB host",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PORT",
      "service": "Mixpost",
      "description": "Private KeyDB port",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_DATABASE",
      "service": "Mixpost",
      "description": "Database name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_PASSWORD",
      "service": "Mixpost",
      "description": "Database password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_USERNAME",
      "service": "Mixpost",
      "description": "Database username",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "LICENSE_KEY",
      "service": "Mixpost",
      "description": "Mixpost license key",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Mixpost",
      "description": "KeyDB password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "cw5DSn"
      }
    },
    "cli": "railway deploy --template cw5DSn",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "0c3e8415-3be5-486c-bf7f-17b30603b882",
            "serializedConfig": {
              "services": {
                "44845a98-93e1-4c2c-990c-c15259779838": {
                  "icon": "https://res.cloudinary.com/h5kvzw/image/upload/v1710398290/keydb_pjavtv.svg",
                  "name": "KeyDB",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"exec keydb-server /etc/keydb/keydb.conf --server-threads 16 --always-show-logo no --appendonly yes --requirepass ${KEYDB_PASSWORD} --port ${KEYDB_PORT}\""
                  },
                  "source": {
                    "image": "eqalpha/keydb:latest"
                  },
                  "variables": {
                    "KEYDB_URL": {
                      "description": "URL to connect to KeyDB over the private network",
                      "defaultValue": "redis://${{KEYDB_USER}}:${{KEYDB_PASSWORD}}@${{KEYDB_HOST}}:${{KEYDB_PORT}}"
                    },
                    "KEYDB_HOST": {
                      "description": "Railway private domain name",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "KEYDB_PORT": {
                      "description": "Port to connect to KeyDB over the private network",
                      "defaultValue": "6379"
                    },
                    "KEYDB_USER": {
                      "description": "Default user to connect to KeyDB",
                      "defaultValue": "default"
                    },
                    "KEYDB_PASSWORD": {
                      "description": "Password to connect to KeyDB",
                      "defaultValue": "{{KEYDB_PASSWORD}}"
                    },
                    "KEYDB_PUBLIC_URL": {
                      "description": "URL to connect to KeyDB Publically",
                      "defaultValue": "redis://${{KEYDB_USER}}:${{KEYDB_PASSWORD}}@${{KEYDB_PUBLIC_HOST}}:${{KEYDB_PUBLIC_PORT}}"
                    },
                    "KEYDB_PUBLIC_HOST": {
                      "description": "Railway public TCP domain name",
                      "defaultValue": "${{RAILWAY_TCP_PROXY_DOMAIN}}"
                    },
                    "KEYDB_PUBLIC_PORT": {
                      "description": "Port to connect to KeyDB Publically",
                      "defaultValue": "${{RAILWAY_TCP_PROXY_PORT}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "6379": {}
                    }
                  },
                  "volumeMounts": {
                    "44845a98-93e1-4c2c-990c-c15259779838": {
                      "mountPath": "/data"
                    }
                  }
                },
                "489ab66b-93ae-4dc8-8262-57e5a9aa0da1": {
                  "icon": "https://devicons.railway.app/i/mysql.svg",
                  "name": "MySQL",
                  "build": {},
                  "deploy": {
                    "startCommand": "docker-entrypoint.sh mysqld --innodb-use-native-aio=0 --disable-log-bin --performance_schema=0 --innodb-buffer-pool-size=1G",
                    "healthcheckPath": null,
                    "requiredMountPath": "/var/lib/mysql"
                  },
                  "source": {
                    "image": "mysql:9.4"
                  },
                  "variables": {
                    "MYSQLHOST": {
                      "isOptional": false,
                      "description": "Railway Private Domain Name.",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "MYSQLPORT": {
                      "isOptional": false,
                      "description": "MySQL port.",
                      "defaultValue": "3306"
                    },
                    "MYSQLUSER": {
                      "isOptional": false,
                      "description": "MySQL user, used for the Data panel.",
                      "defaultValue": "root"
                    },
                    "MYSQL_URL": {
                      "isOptional": false,
                      "description": "URL to connect to MySQL.",
                      "defaultValue": "mysql://${{ MYSQLUSER }}:${{ MYSQL_ROOT_PASSWORD }}@${{ RAILWAY_PRIVATE_DOMAIN }}:3306/${{ MYSQL_DATABASE }}"
                    },
                    "MYSQLDATABASE": {
                      "isOptional": false,
                      "description": "Default database, used for Data panel.",
                      "defaultValue": "${{ MYSQL_DATABASE }}"
                    },
                    "MYSQLPASSWORD": {
                      "isOptional": false,
                      "description": "Root password, used for Data panel.",
                      "defaultValue": "${{ MYSQL_ROOT_PASSWORD }}"
                    },
                    "MYSQL_DATABASE": {
                      "isOptional": false,
                      "description": "Database to be created on image startup.",
                      "defaultValue": "railway"
                    },
                    "MYSQL_PUBLIC_URL": {
                      "description": "URL to connect to MySQL DB, used for Data panel.",
                      "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 DB.",
                      "defaultValue": "{{MYSQL_ROOT_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "3306": {}
                    },
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "489ab66b-93ae-4dc8-8262-57e5a9aa0da1": {
                      "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
                    ]
                  }
                },
                "ce433b7f-9b96-4c5a-8ece-094fb9392714": {
                  "icon": "https://res.cloudinary.com/h5kvzw/image/upload/v1712127159/mixpost_bcqmug.svg",
                  "name": "Mixpost",
                  "deploy": {
                    "startCommand": "/bin/bash -c \"exec /bin/bash /usr/local/bin/start.sh 2>&1\"",
                    "healthcheckPath": "manifest.json"
                  },
                  "source": {
                    "image": "inovector/mixpost-pro-team:latest"
                  },
                  "variables": {
                    "PORT": {
                      "description": "Port that Mixpost listens on",
                      "defaultValue": "80"
                    },
                    "APP_KEY": {
                      "description": "Secret app key",
                      "defaultValue": "{{APP_KEY}}"
                    },
                    "APP_URL": {
                      "description": "Public app URL",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "DB_HOST": {
                      "description": "Private database host",
                      "defaultValue": "${{MySQL.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "DB_PORT": {
                      "description": "Private database port",
                      "defaultValue": "3306"
                    },
                    "APP_NAME": {
                      "description": "App name",
                      "defaultValue": "Mixpost"
                    },
                    "REDIS_HOST": {
                      "description": "Private KeyDB host",
                      "defaultValue": "${{KeyDB.KEYDB_HOST}}"
                    },
                    "REDIS_PORT": {
                      "description": "Private KeyDB port",
                      "defaultValue": "${{KeyDB.KEYDB_PORT}}"
                    },
                    "DB_DATABASE": {
                      "description": "Database name",
                      "defaultValue": "${{MySQL.MYSQL_DATABASE}}"
                    },
                    "DB_PASSWORD": {
                      "description": "Database password",
                      "defaultValue": "${{MySQL.MYSQLPASSWORD}}"
                    },
                    "DB_USERNAME": {
                      "description": "Database username",
                      "defaultValue": "${{MySQL.MYSQLUSER}}"
                    },
                    "LICENSE_KEY": {
                      "isOptional": false,
                      "description": "Mixpost license key",
                      "defaultValue": "{{LICENSE_KEY}}"
                    },
                    "REDIS_PASSWORD": {
                      "description": "KeyDB password",
                      "defaultValue": "${{KeyDB.KEYDB_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "ce433b7f-9b96-4c5a-8ece-094fb9392714": {
                      "mountPath": "/var/www/html/storage/app"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Mixpost",
      "method": "GET",
      "path": "manifest.json",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-09-22T10:14:47.278Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-21T14:00:10.003Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_26bca09ce00349bbbae2",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED,SUCCESS,SUCCESS"
      }
    ]
  }
}
