{
  "manifest_version": "1.0.0",
  "template": {
    "id": "0268d4d4-93e4-4391-880d-dab26cb4a7a6",
    "slug": "tandoor-cookbook",
    "name": "Tandoor",
    "description": "Recipe manager and meal planner with automatic shopping lists",
    "url": "https://railway.com/deploy/tandoor-cookbook",
    "upstream": {
      "repo_url": "https://github.com/gridalpha/tandoor-railway"
    }
  },
  "services": [
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "Tandoor",
      "source": {
        "repo": "https://github.com/gridalpha/tandoor-railway"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Private connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Auth password, read by the server",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "TZ",
      "service": "Tandoor",
      "description": "Timezone for plans and timestamps",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "PORT",
      "service": "Tandoor",
      "description": "Port Railway probes",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "DEBUG",
      "service": "Tandoor",
      "description": "Django debug mode off",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "DB_ENGINE",
      "service": "Tandoor",
      "description": "Database backend",
      "secret": false,
      "strategy": "default",
      "default": "django.db.backends.postgresql"
    },
    {
      "key": "REDIS_HOST",
      "service": "Tandoor",
      "description": "Private cache hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PORT",
      "service": "Tandoor",
      "description": "Cache port",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SECRET_KEY",
      "service": "Tandoor",
      "description": "Django signing key, must stay stable",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Tandoor",
      "description": "Database name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "TANDOOR_PORT",
      "service": "Tandoor",
      "description": "Port the bundled nginx binds",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "ALLOWED_HOSTS",
      "service": "Tandoor",
      "description": "Django host allowlist, edge routes by Host",
      "secret": false,
      "strategy": "default",
      "default": "*"
    },
    {
      "key": "ENABLE_SIGNUP",
      "service": "Tandoor",
      "description": "Public registration closed",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "POSTGRES_HOST",
      "service": "Tandoor",
      "description": "Private database hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_PORT",
      "service": "Tandoor",
      "description": "Database port",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Tandoor",
      "description": "Database user",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_ACCESS_KEY",
      "service": "Tandoor",
      "description": "Enables object storage for media",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Tandoor",
      "description": "Cache password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_USERNAME",
      "service": "Tandoor",
      "description": "Cache username",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_BUCKET_NAME",
      "service": "Tandoor",
      "description": "Bucket name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_REGION_NAME",
      "service": "Tandoor",
      "description": "Bucket region",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_ENDPOINT_URL",
      "service": "Tandoor",
      "description": "S3-compatible endpoint",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Tandoor",
      "description": "Database password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "TANDOOR_ADMIN_USER",
      "service": "Tandoor",
      "description": "First superuser, created at boot",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "S3_QUERYSTRING_AUTH",
      "service": "Tandoor",
      "description": "Serve media through signed URLs",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "TANDOOR_ADMIN_EMAIL",
      "service": "Tandoor",
      "description": "Email on the bootstrapped account",
      "secret": false,
      "strategy": "default",
      "default": "admin@example.com"
    },
    {
      "key": "CSRF_TRUSTED_ORIGINS",
      "service": "Tandoor",
      "description": "Trusted origin for sign-in POSTs",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "S3_SECRET_ACCESS_KEY",
      "service": "Tandoor",
      "description": "Bucket secret key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "TANDOOR_ADMIN_PASSWORD",
      "service": "Tandoor",
      "description": "First superuser password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "ALLAUTH_TRUSTED_PROXY_COUNT",
      "service": "Tandoor",
      "description": "Proxy hops in front of the app",
      "secret": false,
      "strategy": "default",
      "default": "3"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Cluster location on the volume",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Database created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "Private connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "Superuser created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "Postgres",
      "description": "SSL certificate expiry in days",
      "secret": false,
      "strategy": "default",
      "default": "820"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Superuser password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Clean shutdown window",
      "secret": false,
      "strategy": "default",
      "default": "60"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "tandoor-cookbook"
      }
    },
    "cli": "railway deploy --template tandoor-cookbook",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "0268d4d4-93e4-4391-880d-dab26cb4a7a6",
            "serializedConfig": {
              "buckets": {
                "b5db3032-d85d-4ba7-bbc1-1b130155875c": {
                  "name": "tandoor-media"
                }
              },
              "services": {
                "2bb1c3c9-c8f4-4198-bde0-1447754ca0b1": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/redis.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"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Private connection string",
                      "defaultValue": "redis://${{REDISUSER}}:${{REDIS_PASSWORD}}@${{REDISHOST}}:${{REDISPORT}}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Auth password, read by the server",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "2bb1c3c9-c8f4-4198-bde0-1447754ca0b1": {
                      "mountPath": "/data"
                    }
                  }
                },
                "77471109-4bc3-4b2a-a02d-3aa49e7636d8": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/tandoor-recipes.svg",
                  "name": "Tandoor",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/tandoor-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "Timezone for plans and timestamps",
                      "defaultValue": "UTC"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "Port Railway probes",
                      "defaultValue": "8080"
                    },
                    "DEBUG": {
                      "isOptional": false,
                      "description": "Django debug mode off",
                      "defaultValue": "0"
                    },
                    "DB_ENGINE": {
                      "isOptional": false,
                      "description": "Database backend",
                      "defaultValue": "django.db.backends.postgresql"
                    },
                    "REDIS_HOST": {
                      "isOptional": false,
                      "description": "Private cache hostname",
                      "defaultValue": "${{Redis.REDISHOST}}"
                    },
                    "REDIS_PORT": {
                      "isOptional": false,
                      "description": "Cache port",
                      "defaultValue": "${{Redis.REDISPORT}}"
                    },
                    "SECRET_KEY": {
                      "isOptional": false,
                      "description": "Django signing key, must stay stable",
                      "defaultValue": "{{SECRET_KEY}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Database name",
                      "defaultValue": "${{Postgres.PGDATABASE}}"
                    },
                    "TANDOOR_PORT": {
                      "isOptional": false,
                      "description": "Port the bundled nginx binds",
                      "defaultValue": "8080"
                    },
                    "ALLOWED_HOSTS": {
                      "isOptional": false,
                      "description": "Django host allowlist, edge routes by Host",
                      "defaultValue": "*"
                    },
                    "ENABLE_SIGNUP": {
                      "isOptional": false,
                      "description": "Public registration closed",
                      "defaultValue": "0"
                    },
                    "POSTGRES_HOST": {
                      "isOptional": false,
                      "description": "Private database hostname",
                      "defaultValue": "${{Postgres.PGHOST}}"
                    },
                    "POSTGRES_PORT": {
                      "isOptional": false,
                      "description": "Database port",
                      "defaultValue": "${{Postgres.PGPORT}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Database user",
                      "defaultValue": "${{Postgres.PGUSER}}"
                    },
                    "S3_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Enables object storage for media",
                      "defaultValue": "${{tandoor-media.ACCESS_KEY_ID}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Cache password",
                      "defaultValue": "${{Redis.REDISPASSWORD}}"
                    },
                    "REDIS_USERNAME": {
                      "isOptional": false,
                      "description": "Cache username",
                      "defaultValue": "${{Redis.REDISUSER}}"
                    },
                    "S3_BUCKET_NAME": {
                      "isOptional": false,
                      "description": "Bucket name",
                      "defaultValue": "${{tandoor-media.BUCKET}}"
                    },
                    "S3_REGION_NAME": {
                      "isOptional": false,
                      "description": "Bucket region",
                      "defaultValue": "${{tandoor-media.REGION}}"
                    },
                    "S3_ENDPOINT_URL": {
                      "isOptional": false,
                      "description": "S3-compatible endpoint",
                      "defaultValue": "${{tandoor-media.ENDPOINT}}"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Database password",
                      "defaultValue": "${{Postgres.PGPASSWORD}}"
                    },
                    "TANDOOR_ADMIN_USER": {
                      "isOptional": false,
                      "description": "First superuser, created at boot",
                      "defaultValue": "admin"
                    },
                    "S3_QUERYSTRING_AUTH": {
                      "isOptional": false,
                      "description": "Serve media through signed URLs",
                      "defaultValue": "1"
                    },
                    "TANDOOR_ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "Email on the bootstrapped account",
                      "defaultValue": "admin@example.com"
                    },
                    "CSRF_TRUSTED_ORIGINS": {
                      "isOptional": false,
                      "description": "Trusted origin for sign-in POSTs",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "S3_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Bucket secret key",
                      "defaultValue": "${{tandoor-media.SECRET_ACCESS_KEY}}"
                    },
                    "TANDOOR_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "First superuser password",
                      "defaultValue": "{{TANDOOR_ADMIN_PASSWORD}}"
                    },
                    "ALLAUTH_TRUSTED_PROXY_COUNT": {
                      "isOptional": false,
                      "description": "Proxy hops in front of the app",
                      "defaultValue": "3"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "a0b7c31c-6a93-4248-bd37-fbba74c8cf11": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/postgresql.svg",
                  "name": "Postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Cluster location on the volume",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{POSTGRES_USER}}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Database created on first boot",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Private connection string",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Superuser created on first boot",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": false,
                      "description": "SSL certificate expiry in days",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Superuser password",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Clean shutdown window",
                      "defaultValue": "60"
                    }
                  },
                  "volumeMounts": {
                    "a0b7c31c-6a93-4248-bd37-fbba74c8cf11": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-19T13:13:17.857Z",
  "success_rate_30d": 0.1667,
  "validation": {
    "last_run_id": "run_1f0e1d6ea6fb450ea2b9",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": false,
        "detail": "Your workspace has been restricted. Please contact support to resolve this."
      }
    ],
    "typical_ready_seconds": 78
  }
}
