{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a90e616c-3dcc-4477-8e49-edf99b6c21c5",
    "slug": "UAZUjV",
    "name": "Infisical",
    "description": "Sync secrets across your team/infrastructure and prevent secret leaks.",
    "url": "https://railway.com/deploy/UAZUjV",
    "upstream": {
      "image": "infisical/infisical:latest"
    }
  },
  "services": [
    {
      "name": "Redis",
      "source": {
        "image": "bitnami/redis"
      },
      "needs_volume": true,
      "volume_mount_path": "/bitnami",
      "tcp_ports": [
        6379
      ],
      "http": false
    },
    {
      "name": "infisical-backend",
      "source": {
        "image": "infisical/infisical:latest"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "MongoDB",
      "source": {
        "image": "mongo"
      },
      "needs_volume": true,
      "volume_mount_path": "/data/db",
      "tcp_ports": [
        27017
      ],
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Linking variables",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "linking port",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "default redis user",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Redis connection url",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "linking variables",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Redis",
      "description": "Run as Root",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "REDIS_PRIVATE_URL",
      "service": "Redis",
      "description": "Private connection URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "RAILWAY_RUN_AS_ROOT",
      "service": "Redis",
      "description": "Run as Root",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "PORT",
      "service": "infisical-backend",
      "description": "default listen port of infisical",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "NODE_ENV",
      "service": "infisical-backend",
      "description": "set it to production to deploy",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "SITE_URL",
      "service": "infisical-backend",
      "description": "your url. defaults to railway public domain",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "MONGO_URL",
      "service": "infisical-backend",
      "description": "MongoDB connection URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_URL",
      "service": "infisical-backend",
      "description": "Redis connection url",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AUTH_SECRET",
      "service": "infisical-backend",
      "description": "default auth secret used by infisical",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ENCRYPTION_KEY",
      "service": "infisical-backend",
      "description": "default encryption key",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "MONGO_PASSWORD",
      "service": "infisical-backend",
      "description": "MongoDB password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MONGO_USERNAME",
      "service": "infisical-backend",
      "description": "mongodb username",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MONGOHOST",
      "service": "MongoDB",
      "description": "TCP DOMAIN",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MONGOPORT",
      "service": "MongoDB",
      "description": "TPC PROXY PORT",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MONGOUSER",
      "service": "MongoDB",
      "description": "Linking username",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MONGO_URL",
      "service": "MongoDB",
      "description": "mongo connection url",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MONGOPASSWORD",
      "service": "MongoDB",
      "description": "Linking password variable",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MONGO_PRIVATE_URL",
      "service": "MongoDB",
      "description": "mongo private connection url",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MONGO_INITDB_ROOT_PASSWORD",
      "service": "MongoDB",
      "description": "mongodb root password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "MONGO_INITDB_ROOT_USERNAME",
      "service": "MongoDB",
      "description": "default mongo user",
      "secret": false,
      "strategy": "default",
      "default": "mongo"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "UAZUjV"
      }
    },
    "cli": "railway deploy --template UAZUjV",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a90e616c-3dcc-4477-8e49-edf99b6c21c5",
            "serializedConfig": {
              "services": {
                "0eaa7605-ec0c-4ff8-b8b2-7eaccef60eae": {
                  "name": "Redis",
                  "build": {},
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "bitnami/redis"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": true,
                      "description": "Linking variables",
                      "defaultValue": "${{RAILWAY_TCP_PROXY_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": true,
                      "description": "linking port",
                      "defaultValue": "${{RAILWAY_TCP_PROXY_PORT}}"
                    },
                    "REDISUSER": {
                      "isOptional": true,
                      "description": "default redis user",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": true,
                      "description": "Redis connection url",
                      "defaultValue": "redis://default:${{REDIS_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": true,
                      "description": "linking variables",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": true,
                      "description": "Default redis password",
                      "defaultValue": ""
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": true,
                      "description": "Run as Root",
                      "defaultValue": "0"
                    },
                    "REDIS_PRIVATE_URL": {
                      "isOptional": true,
                      "description": "Private connection URL",
                      "defaultValue": "redis://default:${{REDIS_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:6379"
                    },
                    "RAILWAY_RUN_AS_ROOT": {
                      "isOptional": false,
                      "description": "Run as Root",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "6379": {}
                    },
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "0eaa7605-ec0c-4ff8-b8b2-7eaccef60eae": {
                      "mountPath": "/bitnami"
                    }
                  }
                },
                "65d09e19-237b-4536-96c7-267ff95bd18f": {
                  "name": "infisical-backend",
                  "build": {},
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "infisical/infisical:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "default listen port of infisical",
                      "defaultValue": "8080"
                    },
                    "NODE_ENV": {
                      "isOptional": true,
                      "description": "set it to production to deploy",
                      "defaultValue": "production"
                    },
                    "SITE_URL": {
                      "isOptional": true,
                      "description": "your url. defaults to railway public domain",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "MONGO_URL": {
                      "isOptional": true,
                      "description": "MongoDB connection URL",
                      "defaultValue": "${{MongoDB.MONGO_URL}}"
                    },
                    "REDIS_URL": {
                      "isOptional": true,
                      "description": "Redis connection url",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "AUTH_SECRET": {
                      "isOptional": true,
                      "description": "default auth secret used by infisical",
                      "defaultValue": "{{AUTH_SECRET}}"
                    },
                    "ENCRYPTION_KEY": {
                      "isOptional": true,
                      "description": "default encryption key",
                      "defaultValue": "{{ENCRYPTION_KEY}}"
                    },
                    "MONGO_PASSWORD": {
                      "isOptional": true,
                      "description": "MongoDB password",
                      "defaultValue": "${{MongoDB.MONGOPASSWORD}}"
                    },
                    "MONGO_USERNAME": {
                      "isOptional": true,
                      "description": "mongodb username",
                      "defaultValue": "${{MongoDB.MONGOUSER}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {}
                },
                "9c98769e-d01f-4c5a-87db-5f4f52e9b211": {
                  "name": "MongoDB",
                  "build": {},
                  "deploy": {
                    "startCommand": "docker-entrypoint.sh mongod --ipv6 --bind_ip ::,0.0.0.0",
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "mongo"
                  },
                  "variables": {
                    "MONGOHOST": {
                      "isOptional": true,
                      "description": "TCP DOMAIN",
                      "defaultValue": "${{RAILWAY_TCP_PROXY_DOMAIN}}"
                    },
                    "MONGOPORT": {
                      "isOptional": true,
                      "description": "TPC PROXY PORT",
                      "defaultValue": "${{RAILWAY_TCP_PROXY_PORT}}"
                    },
                    "MONGOUSER": {
                      "isOptional": true,
                      "description": "Linking username",
                      "defaultValue": "${{MONGO_INITDB_ROOT_USERNAME}}"
                    },
                    "MONGO_URL": {
                      "isOptional": true,
                      "description": "mongo connection url",
                      "defaultValue": "mongodb://${{MONGO_INITDB_ROOT_USERNAME}}:${{MONGO_INITDB_ROOT_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}"
                    },
                    "MONGOPASSWORD": {
                      "isOptional": true,
                      "description": "Linking password variable",
                      "defaultValue": "${{MONGO_INITDB_ROOT_PASSWORD}}"
                    },
                    "MONGO_PRIVATE_URL": {
                      "isOptional": true,
                      "description": "mongo private connection url",
                      "defaultValue": "mongodb://${{MONGO_INITDB_ROOT_USERNAME}}:${{MONGO_INITDB_ROOT_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:27017"
                    },
                    "MONGO_INITDB_ROOT_PASSWORD": {
                      "isOptional": false,
                      "description": "mongodb root password",
                      "defaultValue": "{{MONGO_INITDB_ROOT_PASSWORD}}"
                    },
                    "MONGO_INITDB_ROOT_USERNAME": {
                      "isOptional": true,
                      "description": "default mongo user",
                      "defaultValue": "mongo"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "27017": {}
                    },
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "9c98769e-d01f-4c5a-87db-5f4f52e9b211": {
                      "mountPath": "/data/db"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T22:14:37.505Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T08:15:35.303Z",
  "success_rate_30d": 0.6,
  "validation": {
    "last_run_id": "run_4cb5ede8b5c14780b55d",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 110,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "infisical-backend"
  }
}
