{
  "manifest_version": "1.0.0",
  "template": {
    "id": "6cf2b4e0-27b4-4897-9d72-d4f1bbac7960",
    "slug": "windmill-dev",
    "name": "Windmill | Open-Source Retool and Airflow Alternative",
    "description": "Windmill scripts, flows and apps with workers and a superadmin on boot",
    "url": "https://railway.com/deploy/windmill-dev",
    "upstream": {
      "repo_url": "https://github.com/nomideusz/windmill-railway"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Worker",
      "source": {
        "repo": "https://github.com/nomideusz/windmill-railway"
      },
      "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": "Native Worker",
      "source": {
        "repo": "https://github.com/nomideusz/windmill-railway"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Windmill",
      "source": {
        "repo": "https://github.com/nomideusz/windmill-railway"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "MODE",
      "service": "Worker",
      "description": "Runs Python, TypeScript, Bash, Go, SQL and other jobs",
      "secret": false,
      "strategy": "default",
      "default": "worker"
    },
    {
      "key": "DATABASE_URL",
      "service": "Worker",
      "description": "Postgres on the private network",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "WORKER_GROUP",
      "service": "Worker",
      "description": "Worker group - its job tags are set in Windmill's Workers page",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "BASE_INTERNAL_URL",
      "service": "Worker",
      "description": "Where scripts reach the Windmill API (the wmill client) - the server on the private network",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Worker",
      "description": "Time to finish running jobs on redeploy",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Data subdirectory - keeps Postgres happy on Railway volumes",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Database name",
      "secret": false,
      "strategy": "default",
      "default": "windmill"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "Database user - a superuser, which Windmill's migrations need to create its roles",
      "secret": false,
      "strategy": "default",
      "default": "windmill"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Auto-generated database password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Time for Postgres to shut down cleanly on redeploy",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "MODE",
      "service": "Native Worker",
      "description": "Runs lightweight native jobs in-process",
      "secret": false,
      "strategy": "default",
      "default": "worker"
    },
    {
      "key": "NATIVE_MODE",
      "service": "Native Worker",
      "description": "Runs several native jobs at once in a single process",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "SLEEP_QUEUE",
      "service": "Native Worker",
      "description": "Queue polling interval in ms",
      "secret": false,
      "strategy": "default",
      "default": "200"
    },
    {
      "key": "DATABASE_URL",
      "service": "Native Worker",
      "description": "Postgres on the private network",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "WORKER_GROUP",
      "service": "Native Worker",
      "description": "Handles native TypeScript (fetch), Postgres, MySQL, GraphQL and other native jobs",
      "secret": false,
      "strategy": "default",
      "default": "native"
    },
    {
      "key": "BASE_INTERNAL_URL",
      "service": "Native Worker",
      "description": "Where scripts reach the Windmill API (the wmill client) - the server on the private network",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Native Worker",
      "description": "Time to finish running jobs on redeploy",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "MODE",
      "service": "Windmill",
      "description": "Runs the API and web app; jobs run on the worker services",
      "secret": false,
      "strategy": "default",
      "default": "server"
    },
    {
      "key": "PORT",
      "service": "Windmill",
      "description": "Port the Windmill server listens on - leave as is",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    },
    {
      "key": "BASE_URL",
      "service": "Windmill",
      "description": "Public URL used in webhooks and links - set it to your custom domain after adding one",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "DATABASE_URL",
      "service": "Windmill",
      "description": "Postgres on the private network",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "SERVER_BIND_ADDR",
      "service": "Windmill",
      "description": "Listen on IPv6 too, so the workers reach the server over Railway's private network",
      "secret": false,
      "strategy": "default",
      "default": "::"
    },
    {
      "key": "WINDMILL_ADMIN_EMAIL",
      "service": "Windmill",
      "description": "Your email - the superadmin login, created on first boot in place of Windmill's default admin@windmill.dev",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "WINDMILL_ADMIN_PASSWORD",
      "service": "Windmill",
      "description": "Superadmin password, set on first boot only - copy it from here to log in, then change it in Windmill",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_HEALTHCHECK_TIMEOUT_SEC",
      "service": "Windmill",
      "description": "First boot runs several hundred database migrations before the health check can pass",
      "secret": false,
      "strategy": "default",
      "default": "600"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "windmill-dev"
      }
    },
    "cli": "railway deploy --template windmill-dev",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "6cf2b4e0-27b4-4897-9d72-d4f1bbac7960",
            "serializedConfig": {
              "services": {
                "451935cb-cd37-4fbe-ac8c-0a926e2b4ad5": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/windmill.svg",
                  "name": "Worker",
                  "build": {},
                  "deploy": {
                    "startCommand": "windmill",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/nomideusz/windmill-railway",
                    "rootDirectory": "/server"
                  },
                  "variables": {
                    "MODE": {
                      "isOptional": false,
                      "description": "Runs Python, TypeScript, Bash, Go, SQL and other jobs",
                      "defaultValue": "worker"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Postgres on the private network",
                      "defaultValue": "postgres://${{Postgres.POSTGRES_USER}}:${{Postgres.POSTGRES_PASSWORD}}@${{Postgres.RAILWAY_PRIVATE_DOMAIN}}:5432/${{Postgres.POSTGRES_DB}}?sslmode=disable"
                    },
                    "WORKER_GROUP": {
                      "isOptional": false,
                      "description": "Worker group - its job tags are set in Windmill's Workers page",
                      "defaultValue": "default"
                    },
                    "BASE_INTERNAL_URL": {
                      "isOptional": false,
                      "description": "Where scripts reach the Windmill API (the wmill client) - the server on the private network",
                      "defaultValue": "http://${{Windmill.RAILWAY_PRIVATE_DOMAIN}}:8000"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Time to finish running jobs on redeploy",
                      "defaultValue": "60"
                    }
                  },
                  "networking": {
                    "serviceDomains": {}
                  }
                },
                "d3999495-c649-4004-9ccf-2cf8f0036bb7": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "build": {},
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:17"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Data subdirectory - keeps Postgres happy on Railway volumes",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Database name",
                      "defaultValue": "windmill"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Database user - a superuser, which Windmill's migrations need to create its roles",
                      "defaultValue": "windmill"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Auto-generated database password",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Time for Postgres to shut down cleanly on redeploy",
                      "defaultValue": "60"
                    }
                  },
                  "networking": {
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "27955b73-98a0-403d-971b-15e5c8d62303": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "dc6cc52d-4bb2-431a-9700-8c9c794367cd": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/windmill.svg",
                  "name": "Native Worker",
                  "build": {},
                  "deploy": {
                    "startCommand": "windmill",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/nomideusz/windmill-railway",
                    "rootDirectory": "/server"
                  },
                  "variables": {
                    "MODE": {
                      "isOptional": false,
                      "description": "Runs lightweight native jobs in-process",
                      "defaultValue": "worker"
                    },
                    "NATIVE_MODE": {
                      "isOptional": false,
                      "description": "Runs several native jobs at once in a single process",
                      "defaultValue": "true"
                    },
                    "SLEEP_QUEUE": {
                      "isOptional": false,
                      "description": "Queue polling interval in ms",
                      "defaultValue": "200"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Postgres on the private network",
                      "defaultValue": "postgres://${{Postgres.POSTGRES_USER}}:${{Postgres.POSTGRES_PASSWORD}}@${{Postgres.RAILWAY_PRIVATE_DOMAIN}}:5432/${{Postgres.POSTGRES_DB}}?sslmode=disable"
                    },
                    "WORKER_GROUP": {
                      "isOptional": false,
                      "description": "Handles native TypeScript (fetch), Postgres, MySQL, GraphQL and other native jobs",
                      "defaultValue": "native"
                    },
                    "BASE_INTERNAL_URL": {
                      "isOptional": false,
                      "description": "Where scripts reach the Windmill API (the wmill client) - the server on the private network",
                      "defaultValue": "http://${{Windmill.RAILWAY_PRIVATE_DOMAIN}}:8000"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Time to finish running jobs on redeploy",
                      "defaultValue": "60"
                    }
                  },
                  "networking": {
                    "serviceDomains": {}
                  }
                },
                "dd2896b2-5210-4de5-a48b-a5e0965486bb": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/windmill.svg",
                  "name": "Windmill",
                  "build": {},
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/version",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/nomideusz/windmill-railway",
                    "rootDirectory": "/server"
                  },
                  "variables": {
                    "MODE": {
                      "isOptional": false,
                      "description": "Runs the API and web app; jobs run on the worker services",
                      "defaultValue": "server"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "Port the Windmill server listens on - leave as is",
                      "defaultValue": "8000"
                    },
                    "BASE_URL": {
                      "isOptional": false,
                      "description": "Public URL used in webhooks and links - set it to your custom domain after adding one",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Postgres on the private network",
                      "defaultValue": "postgres://${{Postgres.POSTGRES_USER}}:${{Postgres.POSTGRES_PASSWORD}}@${{Postgres.RAILWAY_PRIVATE_DOMAIN}}:5432/${{Postgres.POSTGRES_DB}}?sslmode=disable"
                    },
                    "SERVER_BIND_ADDR": {
                      "isOptional": false,
                      "description": "Listen on IPv6 too, so the workers reach the server over Railway's private network",
                      "defaultValue": "::"
                    },
                    "WINDMILL_ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "Your email - the superadmin login, created on first boot in place of Windmill's default admin@windmill.dev",
                      "defaultValue": "{{WINDMILL_ADMIN_EMAIL}}"
                    },
                    "WINDMILL_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Superadmin password, set on first boot only - copy it from here to log in, then change it in Windmill",
                      "defaultValue": "{{WINDMILL_ADMIN_PASSWORD}}"
                    },
                    "RAILWAY_HEALTHCHECK_TIMEOUT_SEC": {
                      "isOptional": false,
                      "description": "First boot runs several hundred database migrations before the health check can pass",
                      "defaultValue": "600"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Windmill",
      "method": "GET",
      "path": "/api/version",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 4,
    "needs_volume": true
  },
  "generated_at": "2026-10-04T22:14:51.474Z",
  "generator_version": "0.1.0"
}
