{
  "manifest_version": "1.0.0",
  "template": {
    "id": "5b16544c-33f9-4b01-af6b-bb06be8450f1",
    "slug": "8TLSQD",
    "name": "Grafana Stack",
    "description": "One-click observability with Loki, Prometheus, Tempo, and Grafana",
    "url": "https://railway.com/deploy/8TLSQD",
    "upstream": {
      "repo_url": "https://github.com/MykalMachon/railway-grafana-stack"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Grafana",
      "source": {
        "repo": "https://github.com/MykalMachon/railway-grafana-stack"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/grafana/",
      "http": true
    },
    {
      "name": "Loki",
      "source": {
        "repo": "https://github.com/MykalMachon/railway-grafana-stack"
      },
      "needs_volume": true,
      "volume_mount_path": "/loki",
      "http": false
    },
    {
      "name": "Prometheus",
      "source": {
        "repo": "https://github.com/MykalMachon/railway-grafana-stack"
      },
      "needs_volume": true,
      "volume_mount_path": "/prometheus",
      "http": false
    },
    {
      "name": "Tempo",
      "source": {
        "repo": "https://github.com/MykalMachon/railway-grafana-stack"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/tempo",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Grafana",
      "description": "Grafana HTTP Port. Do not change.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "VERSION",
      "service": "Grafana",
      "description": "Grafana's version or tag. This is set to latest by default.",
      "secret": false,
      "strategy": "default",
      "default": "latest"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Grafana",
      "description": "Sets the docker image to run as root. This is required for simple on-disk persistence",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "LOKI_INTERNAL_URL",
      "service": "Grafana",
      "description": "The internal URL to Loki. Changing this will break your connection to Loki.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "GF_INSTALL_PLUGINS",
      "service": "Grafana",
      "description": "Plugins to automatically install when Grafana starts up for the first time",
      "secret": false,
      "strategy": "default",
      "default": "grafana-simple-json-datasource,grafana-piechart-panel,grafana-worldmap-panel,grafana-clock-panel"
    },
    {
      "key": "TEMPO_INTERNAL_URL",
      "service": "Grafana",
      "description": "The internal URL to Tempo. Changing this will break your connection to Loki.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "GF_SECURITY_ADMIN_USER",
      "service": "Grafana",
      "description": "admin account username",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "PROMETHEUS_INTERNAL_URL",
      "service": "Grafana",
      "description": "The internal URL to Prometheus. Changing this will break your connection to Loki.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "Grafana",
      "description": "Path to the dockerfile for Grafana. This allows you to customize your config down the line.",
      "secret": false,
      "strategy": "default",
      "default": "/grafana/dockerfile"
    },
    {
      "key": "GF_DEFAULT_INSTANCE_NAME",
      "service": "Grafana",
      "description": "A name for your Grafana instance",
      "secret": false,
      "strategy": "default",
      "default": "Grafana on Railway"
    },
    {
      "key": "GF_SECURITY_ADMIN_PASSWORD",
      "service": "Grafana",
      "description": "The password for your admin user",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PORT",
      "service": "Loki",
      "description": "Loki HTTP Port. Do not change.",
      "secret": false,
      "strategy": "default",
      "default": "3100"
    },
    {
      "key": "VERSION",
      "service": "Loki",
      "description": "Loki's version or tag. This is set to latest by default.",
      "secret": false,
      "strategy": "default",
      "default": "latest"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Loki",
      "description": "Sets the docker image to run as root. This is required for simple on-disk persistence",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "Loki",
      "description": "Path to the dockerfile for Loki. This allows you to customize your config down the line.",
      "secret": false,
      "strategy": "default",
      "default": "/loki/dockerfile"
    },
    {
      "key": "PORT",
      "service": "Prometheus",
      "description": "Prometheus HTTP Port. Do not change.",
      "secret": false,
      "strategy": "default",
      "default": "9090"
    },
    {
      "key": "VERSION",
      "service": "Prometheus",
      "description": "Prometheus's version or tag. This is set to latest by default.",
      "secret": false,
      "strategy": "default",
      "default": "latest"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Prometheus",
      "description": "Sets the docker image to run as root. This is required for simple on-disk persistence",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "Prometheus",
      "description": "Path to the dockerfile for Prometheus. This allows you to customize your config down the line.",
      "secret": false,
      "strategy": "default",
      "default": "/prometheus/dockerfile"
    },
    {
      "key": "PORT",
      "service": "Tempo",
      "description": "Tempo HTTP Port. Do not change.",
      "secret": false,
      "strategy": "default",
      "default": "3200"
    },
    {
      "key": "VERSION",
      "service": "Tempo",
      "description": "Tempo's version or tag. This is set to latest by default.",
      "secret": false,
      "strategy": "default",
      "default": "2.9.0"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Tempo",
      "description": "Sets the docker image to run as root. This is required for simple on-disk persistence",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "INTERNAL_GRPC_INGEST",
      "service": "Tempo",
      "description": "Tempo's trace/span ingest GRPC server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "INTERNAL_HTTP_INGEST",
      "service": "Tempo",
      "description": "Tempo's trace/span ingest HTTP server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "Tempo",
      "description": "Path to the dockerfile for Tempo. This allows you to customize your config down the line.",
      "secret": false,
      "strategy": "default",
      "default": "/tempo/dockerfile"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "8TLSQD"
      }
    },
    "cli": "railway deploy --template 8TLSQD",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "5b16544c-33f9-4b01-af6b-bb06be8450f1",
            "serializedConfig": {
              "services": {
                "1948a9d6-ed5c-46c2-aa74-ac4ecae1bef6": {
                  "icon": "https://grafana.com/media/docs/grafana-cloud/infrastructure/grafanalogo.svg",
                  "name": "Grafana",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/health"
                  },
                  "source": {
                    "repo": "MykalMachon/railway-grafana-stack",
                    "branch": null,
                    "rootDirectory": "/grafana"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Grafana HTTP Port. Do not change.",
                      "defaultValue": "3000"
                    },
                    "VERSION": {
                      "isOptional": true,
                      "description": "Grafana's version or tag. This is set to latest by default.",
                      "defaultValue": "latest"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Sets the docker image to run as root. This is required for simple on-disk persistence",
                      "defaultValue": "0"
                    },
                    "LOKI_INTERNAL_URL": {
                      "isOptional": false,
                      "description": "The internal URL to Loki. Changing this will break your connection to Loki.",
                      "defaultValue": "http://${{Loki.RAILWAY_PRIVATE_DOMAIN}}:${{Loki.PORT}}"
                    },
                    "GF_INSTALL_PLUGINS": {
                      "isOptional": true,
                      "description": "Plugins to automatically install when Grafana starts up for the first time",
                      "defaultValue": "grafana-simple-json-datasource,grafana-piechart-panel,grafana-worldmap-panel,grafana-clock-panel"
                    },
                    "TEMPO_INTERNAL_URL": {
                      "isOptional": false,
                      "description": "The internal URL to Tempo. Changing this will break your connection to Loki.",
                      "defaultValue": "http://${{Tempo.RAILWAY_PRIVATE_DOMAIN}}:${{Tempo.PORT}}"
                    },
                    "GF_SECURITY_ADMIN_USER": {
                      "isOptional": false,
                      "description": "admin account username",
                      "defaultValue": "{{GF_SECURITY_ADMIN_USER}}"
                    },
                    "PROMETHEUS_INTERNAL_URL": {
                      "isOptional": false,
                      "description": "The internal URL to Prometheus. Changing this will break your connection to Loki.",
                      "defaultValue": "http://${{Prometheus.RAILWAY_PRIVATE_DOMAIN}}:${{Prometheus.PORT}}"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Path to the dockerfile for Grafana. This allows you to customize your config down the line.",
                      "defaultValue": "/grafana/dockerfile"
                    },
                    "GF_DEFAULT_INSTANCE_NAME": {
                      "isOptional": true,
                      "description": "A name for your Grafana instance",
                      "defaultValue": "Grafana on Railway"
                    },
                    "GF_SECURITY_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "The password for your admin user",
                      "defaultValue": "{{GF_SECURITY_ADMIN_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "1948a9d6-ed5c-46c2-aa74-ac4ecae1bef6": {
                      "mountPath": "/var/lib/grafana/"
                    }
                  }
                },
                "8f12fb1b-e63b-4f59-94fc-39d511278531": {
                  "icon": "https://grafana.com/media/docs/loki/logo-grafana-loki.png",
                  "name": "Loki",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/ready"
                  },
                  "source": {
                    "repo": "MykalMachon/railway-grafana-stack",
                    "branch": null,
                    "rootDirectory": "/loki"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Loki HTTP Port. Do not change.",
                      "defaultValue": "3100"
                    },
                    "VERSION": {
                      "isOptional": true,
                      "description": "Loki's version or tag. This is set to latest by default.",
                      "defaultValue": "latest"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Sets the docker image to run as root. This is required for simple on-disk persistence",
                      "defaultValue": "0"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Path to the dockerfile for Loki. This allows you to customize your config down the line.",
                      "defaultValue": "/loki/dockerfile"
                    }
                  },
                  "volumeMounts": {
                    "8f12fb1b-e63b-4f59-94fc-39d511278531": {
                      "mountPath": "/loki"
                    }
                  }
                },
                "c1aeb2ae-10a9-4a29-a6c6-d0784875be1a": {
                  "icon": "https://icon.icepanel.io/Technology/svg/Prometheus.svg",
                  "name": "Prometheus",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/-/healthy"
                  },
                  "source": {
                    "repo": "MykalMachon/railway-grafana-stack",
                    "branch": null,
                    "rootDirectory": "/prometheus"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Prometheus HTTP Port. Do not change.",
                      "defaultValue": "9090"
                    },
                    "VERSION": {
                      "isOptional": true,
                      "description": "Prometheus's version or tag. This is set to latest by default.",
                      "defaultValue": "latest"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Sets the docker image to run as root. This is required for simple on-disk persistence",
                      "defaultValue": "0"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Path to the dockerfile for Prometheus. This allows you to customize your config down the line.",
                      "defaultValue": "/prometheus/dockerfile"
                    }
                  },
                  "volumeMounts": {
                    "c1aeb2ae-10a9-4a29-a6c6-d0784875be1a": {
                      "mountPath": "/prometheus"
                    }
                  }
                },
                "dc554a29-a8eb-48c7-93d0-0aa7b1f4378a": {
                  "icon": "https://grafana.com/static/assets/img/logos/grafana-tempo.svg",
                  "name": "Tempo",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/ready"
                  },
                  "source": {
                    "repo": "MykalMachon/railway-grafana-stack",
                    "branch": null,
                    "rootDirectory": "/tempo"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Tempo HTTP Port. Do not change.",
                      "defaultValue": "3200"
                    },
                    "VERSION": {
                      "isOptional": false,
                      "description": "Tempo's version or tag. This is set to latest by default.",
                      "defaultValue": "2.9.0"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Sets the docker image to run as root. This is required for simple on-disk persistence",
                      "defaultValue": "0"
                    },
                    "INTERNAL_GRPC_INGEST": {
                      "isOptional": false,
                      "description": "Tempo's trace/span ingest GRPC server",
                      "defaultValue": "grpc://${{Tempo.RAILWAY_PRIVATE_DOMAIN}}:4317"
                    },
                    "INTERNAL_HTTP_INGEST": {
                      "isOptional": false,
                      "description": "Tempo's trace/span ingest HTTP server",
                      "defaultValue": "http://${{Tempo.RAILWAY_PRIVATE_DOMAIN}}:4318"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Path to the dockerfile for Tempo. This allows you to customize your config down the line.",
                      "defaultValue": "/tempo/dockerfile"
                    }
                  },
                  "volumeMounts": {
                    "dc554a29-a8eb-48c7-93d0-0aa7b1f4378a": {
                      "mountPath": "/var/tempo"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Grafana",
      "method": "GET",
      "path": "/api/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 4,
    "needs_volume": true
  },
  "generated_at": "2026-09-04T17:54:19.363Z",
  "generator_version": "0.1.0"
}
