{
  "manifest_version": "1.0.0",
  "template": {
    "id": "7af4e709-16c1-4ecb-b077-0768b3b981c8",
    "slug": "open-wearables",
    "name": "open-wearables",
    "description": "Unify wearable health data through one AI-ready API.",
    "url": "https://railway.com/deploy/open-wearables",
    "upstream": {
      "repo_url": "https://github.com/healthkowshik/open-wearables"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Celery Worker",
      "source": {
        "repo": "https://github.com/healthkowshik/open-wearables"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:17"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2.1"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "Frontend",
      "source": {
        "repo": "https://github.com/healthkowshik/open-wearables"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Celery Beat",
      "source": {
        "repo": "https://github.com/healthkowshik/open-wearables"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "backend",
      "source": {
        "repo": "https://github.com/healthkowshik/open-wearables"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "DB_HOST",
      "service": "Celery Worker",
      "description": "DB_HOST",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_NAME",
      "service": "Celery Worker",
      "description": "DB_NAME",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_PORT",
      "service": "Celery Worker",
      "description": "DB_PORT",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_USER",
      "service": "Celery Worker",
      "description": "DB_USER",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_HOST",
      "service": "Celery Worker",
      "description": "REDIS_HOST",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PORT",
      "service": "Celery Worker",
      "description": "REDIS_PORT",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SECRET_KEY",
      "service": "Celery Worker",
      "description": "SECRET_KEY",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DB_PASSWORD",
      "service": "Celery Worker",
      "description": "DB_PASSWORD",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENVIRONMENT",
      "service": "Celery Worker",
      "description": "ENVIRONMENT",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Celery Worker",
      "description": "REDIS_PASSWORD",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "PGDATA",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "PGHOST",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "PGPORT",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "PGUSER",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "PGPASSWORD",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "PGPASSWORD",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "POSTGRES_DB",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "DATABASE_URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "POSTGRES_USER",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "Postgres",
      "description": "SSL_CERT_DAYS",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "POSTGRES_PASSWORD",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DATABASE_PUBLIC_URL",
      "service": "Postgres",
      "description": "DATABASE_PUBLIC_URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "REDISHOST",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "REDISPORT",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "REDISUSER",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "REDIS_URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "REDISPASSWORD",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "REDIS_PASSWORD",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "REDIS_PUBLIC_URL",
      "service": "Redis",
      "description": "REDIS_PUBLIC_URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "VITE_API_URL",
      "service": "Frontend",
      "description": "VITE_API_URL",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "DB_HOST",
      "service": "Celery Beat",
      "description": "DB_HOST",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_NAME",
      "service": "Celery Beat",
      "description": "DB_NAME",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_PORT",
      "service": "Celery Beat",
      "description": "DB_PORT",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_USER",
      "service": "Celery Beat",
      "description": "DB_USER",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_HOST",
      "service": "Celery Beat",
      "description": "REDIS_HOST",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PORT",
      "service": "Celery Beat",
      "description": "REDIS_PORT",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SECRET_KEY",
      "service": "Celery Beat",
      "description": "SECRET_KEY",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DB_PASSWORD",
      "service": "Celery Beat",
      "description": "DB_PASSWORD",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENVIRONMENT",
      "service": "Celery Beat",
      "description": "ENVIRONMENT",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Celery Beat",
      "description": "REDIS_PASSWORD",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_HOST",
      "service": "backend",
      "description": "DB_HOST",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_NAME",
      "service": "backend",
      "description": "DB_NAME",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_PORT",
      "service": "backend",
      "description": "DB_PORT",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_USER",
      "service": "backend",
      "description": "DB_USER",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_HOST",
      "service": "backend",
      "description": "REDIS_HOST",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PORT",
      "service": "backend",
      "description": "REDIS_PORT",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SECRET_KEY",
      "service": "backend",
      "description": "SECRET_KEY",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DB_PASSWORD",
      "service": "backend",
      "description": "DB_PASSWORD",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENVIRONMENT",
      "service": "backend",
      "description": "ENVIRONMENT",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "SERVER_HOST",
      "service": "backend",
      "description": "SERVER_HOST",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "CORS_ORIGINS",
      "service": "backend",
      "description": "CORS_ORIGINS",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "FRONTEND_URL",
      "service": "backend",
      "description": "FRONTEND_URL",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "backend",
      "description": "REDIS_PASSWORD",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "open-wearables"
      }
    },
    "cli": "railway deploy --template open-wearables",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "7af4e709-16c1-4ecb-b077-0768b3b981c8",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "1373dd76-cbc4-4abd-a284-73907a1ee5d4": {
                  "icon": "https://devicons.railway.app/c",
                  "name": "Celery Worker",
                  "deploy": {
                    "startCommand": "scripts/start/worker.sh",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/healthkowshik/open-wearables",
                    "rootDirectory": "/backend"
                  },
                  "variables": {
                    "DB_HOST": {
                      "isOptional": false,
                      "description": "DB_HOST",
                      "defaultValue": "${{Postgres.PGHOST}}"
                    },
                    "DB_NAME": {
                      "isOptional": false,
                      "description": "DB_NAME",
                      "defaultValue": "${{Postgres.PGDATABASE}}"
                    },
                    "DB_PORT": {
                      "isOptional": false,
                      "description": "DB_PORT",
                      "defaultValue": "${{Postgres.PGPORT}}"
                    },
                    "DB_USER": {
                      "isOptional": false,
                      "description": "DB_USER",
                      "defaultValue": "${{Postgres.PGUSER}}"
                    },
                    "REDIS_HOST": {
                      "isOptional": false,
                      "description": "REDIS_HOST",
                      "defaultValue": "${{Redis.REDISHOST}}"
                    },
                    "REDIS_PORT": {
                      "isOptional": false,
                      "description": "REDIS_PORT",
                      "defaultValue": "${{Redis.REDISPORT}}"
                    },
                    "SECRET_KEY": {
                      "isOptional": false,
                      "description": "SECRET_KEY",
                      "defaultValue": "{{SECRET_KEY}}"
                    },
                    "DB_PASSWORD": {
                      "isOptional": false,
                      "description": "DB_PASSWORD",
                      "defaultValue": "${{Postgres.PGPASSWORD}}"
                    },
                    "ENVIRONMENT": {
                      "isOptional": false,
                      "description": "ENVIRONMENT",
                      "defaultValue": "{{ENVIRONMENT}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "REDIS_PASSWORD",
                      "defaultValue": "${{Redis.REDISPASSWORD}}"
                    }
                  }
                },
                "611c89bc-1fcb-474f-be01-97ba07436ceb": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:17"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "PGDATA",
                      "defaultValue": "{{PGDATA}}"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "PGHOST",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "PGPORT",
                      "defaultValue": "{{PGPORT}}"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "PGUSER",
                      "defaultValue": "${{POSTGRES_USER}}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "PGPASSWORD",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "PGPASSWORD",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "POSTGRES_DB",
                      "defaultValue": "{{POSTGRES_DB}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "DATABASE_URL",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "POSTGRES_USER",
                      "defaultValue": "{{POSTGRES_USER}}"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": false,
                      "description": "SSL_CERT_DAYS",
                      "defaultValue": "{{SSL_CERT_DAYS}}"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "POSTGRES_PASSWORD",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "DATABASE_PUBLIC_URL": {
                      "isOptional": false,
                      "description": "DATABASE_PUBLIC_URL",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}/${{PGDATABASE}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
                      "defaultValue": "{{RAILWAY_DEPLOYMENT_DRAINING_SECONDS}}"
                    }
                  },
                  "volumeMounts": {
                    "611c89bc-1fcb-474f-be01-97ba07436ceb": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  },
                  "haTemplateCode": "postgres-ha",
                  "haConversionConfig": {
                    "edge": {
                      "label": "Reverse Proxy",
                      "options": [
                        2,
                        3,
                        4,
                        5
                      ],
                      "nodeLabel": "HAProxy",
                      "description": "Routes traffic to the primary",
                      "defaultValue": 3
                    },
                    "replica": {
                      "label": "Replicas",
                      "options": [
                        2,
                        3,
                        4,
                        5,
                        6,
                        7
                      ],
                      "nodeLabel": "Postgres",
                      "description": "Streaming replicas for automatic failover",
                      "defaultValue": 2
                    },
                    "internal": {
                      "label": "Coordinator Nodes",
                      "options": [
                        3,
                        5,
                        7,
                        9
                      ],
                      "nodeLabel": "etcd",
                      "defaultValue": 3
                    },
                    "description": "This will convert your Postgres database to an HA cluster with Patroni failover and etcd consensus."
                  }
                },
                "759e3b4e-e914-478e-96f9-f47ecaec2bf9": {
                  "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\"",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:8.2.1"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "REDISHOST",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "REDISPORT",
                      "defaultValue": "{{REDISPORT}}"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "REDISUSER",
                      "defaultValue": "{{REDISUSER}}"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "REDIS_URL",
                      "defaultValue": "redis://${{REDISUSER}}:${{REDIS_PASSWORD}}@${{REDISHOST}}:${{REDISPORT}}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "description": "REDISPASSWORD",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "REDIS_PASSWORD",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    },
                    "REDIS_PUBLIC_URL": {
                      "isOptional": false,
                      "description": "REDIS_PUBLIC_URL",
                      "defaultValue": "redis://default:${{REDIS_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}"
                    }
                  },
                  "volumeMounts": {
                    "759e3b4e-e914-478e-96f9-f47ecaec2bf9": {
                      "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."
                  }
                },
                "b8b5202d-3f35-4515-b22b-e4058c29ae5e": {
                  "icon": "https://devicons.railway.app/vite",
                  "name": "Frontend",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/healthkowshik/open-wearables",
                    "rootDirectory": "/frontend"
                  },
                  "variables": {
                    "VITE_API_URL": {
                      "isOptional": false,
                      "description": "VITE_API_URL",
                      "defaultValue": "{{VITE_API_URL}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "dfa0bb3a-d200-4001-bb44-5d9df7538df7": {
                  "icon": "https://devicons.railway.app/c",
                  "name": "Celery Beat",
                  "deploy": {
                    "startCommand": "scripts/start/beat.sh",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/healthkowshik/open-wearables",
                    "rootDirectory": "/backend"
                  },
                  "variables": {
                    "DB_HOST": {
                      "isOptional": false,
                      "description": "DB_HOST",
                      "defaultValue": "${{Postgres.PGHOST}}"
                    },
                    "DB_NAME": {
                      "isOptional": false,
                      "description": "DB_NAME",
                      "defaultValue": "${{Postgres.PGDATABASE}}"
                    },
                    "DB_PORT": {
                      "isOptional": false,
                      "description": "DB_PORT",
                      "defaultValue": "${{Postgres.PGPORT}}"
                    },
                    "DB_USER": {
                      "isOptional": false,
                      "description": "DB_USER",
                      "defaultValue": "${{Postgres.PGUSER}}"
                    },
                    "REDIS_HOST": {
                      "isOptional": false,
                      "description": "REDIS_HOST",
                      "defaultValue": "${{Redis.REDISHOST}}"
                    },
                    "REDIS_PORT": {
                      "isOptional": false,
                      "description": "REDIS_PORT",
                      "defaultValue": "${{Redis.REDISPORT}}"
                    },
                    "SECRET_KEY": {
                      "isOptional": false,
                      "description": "SECRET_KEY",
                      "defaultValue": "{{SECRET_KEY}}"
                    },
                    "DB_PASSWORD": {
                      "isOptional": false,
                      "description": "DB_PASSWORD",
                      "defaultValue": "${{Postgres.PGPASSWORD}}"
                    },
                    "ENVIRONMENT": {
                      "isOptional": false,
                      "description": "ENVIRONMENT",
                      "defaultValue": "{{ENVIRONMENT}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "REDIS_PASSWORD",
                      "defaultValue": "${{Redis.REDISPASSWORD}}"
                    }
                  }
                },
                "ef4b3fc6-8e02-494b-8ac7-1d4ba1c52fd8": {
                  "icon": "https://devicons.railway.app/python",
                  "name": "backend",
                  "deploy": {
                    "startCommand": "scripts/start/app.sh",
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/healthkowshik/open-wearables",
                    "rootDirectory": "/backend"
                  },
                  "variables": {
                    "DB_HOST": {
                      "isOptional": false,
                      "description": "DB_HOST",
                      "defaultValue": "${{Postgres.PGHOST}}"
                    },
                    "DB_NAME": {
                      "isOptional": false,
                      "description": "DB_NAME",
                      "defaultValue": "${{Postgres.PGDATABASE}}"
                    },
                    "DB_PORT": {
                      "isOptional": false,
                      "description": "DB_PORT",
                      "defaultValue": "${{Postgres.PGPORT}}"
                    },
                    "DB_USER": {
                      "isOptional": false,
                      "description": "DB_USER",
                      "defaultValue": "${{Postgres.PGUSER}}"
                    },
                    "REDIS_HOST": {
                      "isOptional": false,
                      "description": "REDIS_HOST",
                      "defaultValue": "${{Redis.REDISHOST}}"
                    },
                    "REDIS_PORT": {
                      "isOptional": false,
                      "description": "REDIS_PORT",
                      "defaultValue": "${{Redis.REDISPORT}}"
                    },
                    "SECRET_KEY": {
                      "isOptional": false,
                      "description": "SECRET_KEY",
                      "defaultValue": "{{SECRET_KEY}}"
                    },
                    "DB_PASSWORD": {
                      "isOptional": false,
                      "description": "DB_PASSWORD",
                      "defaultValue": "${{Postgres.PGPASSWORD}}"
                    },
                    "ENVIRONMENT": {
                      "isOptional": false,
                      "description": "ENVIRONMENT",
                      "defaultValue": "{{ENVIRONMENT}}"
                    },
                    "SERVER_HOST": {
                      "isOptional": false,
                      "description": "SERVER_HOST",
                      "defaultValue": "{{SERVER_HOST}}"
                    },
                    "CORS_ORIGINS": {
                      "isOptional": false,
                      "description": "CORS_ORIGINS",
                      "defaultValue": "{{CORS_ORIGINS}}"
                    },
                    "FRONTEND_URL": {
                      "isOptional": false,
                      "description": "FRONTEND_URL",
                      "defaultValue": "{{FRONTEND_URL}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "REDIS_PASSWORD",
                      "defaultValue": "${{Redis.REDISPASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Frontend",
      "method": "GET",
      "path": "/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 6,
    "needs_volume": true
  },
  "generated_at": "2026-09-17T04:14:44.001Z",
  "generator_version": "0.1.0"
}
