{
  "manifest_version": "1.0.0",
  "template": {
    "id": "ab9333b9-e63a-4387-8f39-bb946a840a2d",
    "slug": "fastapi-clerk-supabase-redis",
    "name": "FastAPI + Clerk + Supabase + Redis",
    "description": "Python API with Clerk auth, Supabase, and Redis caching",
    "url": "https://railway.com/deploy/fastapi-clerk-supabase-redis"
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "LaunchStack",
      "source": {
        "repo": "https://github.com/pwdtsrfvyn-oss/fastapi-clerk-supabase-starter"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2.1"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "tcp_ports": [
        6379
      ],
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "SUPABASE_URL",
      "service": "LaunchStack",
      "description": "Your Supabase project URL (Settings > API)",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "CLERK_JWKS_URL",
      "service": "LaunchStack",
      "description": "Clerk JWKS URL (API Keys > Advanced)",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "SUPABASE_SERVICE_KEY",
      "service": "LaunchStack",
      "description": "Supabase service role key (Settings > API)",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Provide a value for REDISHOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Provide a value for REDISPORT.",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Provide a value for REDISUSER.",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Connection string for connecting to redis using the private network",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Provide a value for REDISPASSWORD.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Provide a value for REDIS_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "REDIS_PUBLIC_URL",
      "service": "Redis",
      "description": "Connection string for connecting to redis externally",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "fastapi-clerk-supabase-redis"
      }
    },
    "cli": "railway deploy --template fastapi-clerk-supabase-redis",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "ab9333b9-e63a-4387-8f39-bb946a840a2d",
            "serializedConfig": {
              "services": {
                "20d83ee8-1a8f-4787-b7f0-a403d1ae5b33": {
                  "name": "LaunchStack",
                  "source": {
                    "repo": "pwdtsrfvyn-oss/fastapi-clerk-supabase-starter",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "SUPABASE_URL": {
                      "isOptional": false,
                      "description": "Your Supabase project URL (Settings > API)",
                      "defaultValue": "{{SUPABASE_URL}}"
                    },
                    "CLERK_JWKS_URL": {
                      "isOptional": false,
                      "description": "Clerk JWKS URL (API Keys > Advanced)",
                      "defaultValue": "{{CLERK_JWKS_URL}}"
                    },
                    "SUPABASE_SERVICE_KEY": {
                      "isOptional": false,
                      "description": "Supabase service role key (Settings > API)",
                      "defaultValue": "{{SUPABASE_SERVICE_KEY}}"
                    }
                  }
                },
                "ef07d951-66f5-4e0b-b749-9a2b9db3c5f8": {
                  "icon": "https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg",
                  "name": "Redis",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH\""
                  },
                  "source": {
                    "image": "redis:8.2.1"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Connection string for connecting to redis using the private network",
                      "defaultValue": "redis://${{ REDISUSER }}:${{ REDIS_PASSWORD }}@${{ REDISHOST }}:${{ REDISPORT }}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    },
                    "REDIS_PUBLIC_URL": {
                      "description": "Connection string for connecting to redis externally",
                      "defaultValue": "redis://default:${{ REDIS_PASSWORD }}@${{ RAILWAY_TCP_PROXY_DOMAIN }}:${{ RAILWAY_TCP_PROXY_PORT }}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "6379": {}
                    }
                  },
                  "volumeMounts": {
                    "ef07d951-66f5-4e0b-b749-9a2b9db3c5f8": {
                      "mountPath": "/data"
                    }
                  },
                  "haTemplateCode": "redis-ha",
                  "haConversionConfig": {
                    "edge": {
                      "label": "Reverse Proxies",
                      "options": [
                        1,
                        2
                      ],
                      "nodeLabel": "HAProxy",
                      "description": "HAProxy instances routing writes to the primary",
                      "defaultValue": 2
                    },
                    "replica": {
                      "label": "Redis Replicas",
                      "options": [
                        2,
                        3,
                        4,
                        5
                      ],
                      "nodeLabel": "Redis",
                      "description": "Nodes running Redis + colocated Sentinel",
                      "defaultValue": 2
                    },
                    "internal": null,
                    "description": "This will convert your Redis instance to an HA cluster with Sentinel failover and HAProxy routing to the primary."
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0"
}
