{
  "manifest_version": "1.0.0",
  "template": {
    "id": "0b955b7b-4872-4ec0-9000-7a53ba045928",
    "slug": "grafana-dashboards",
    "name": "Grafana",
    "description": "Datadog Alternative. Dashboards, alerts, PromQL, SQL, Loki, PNG export",
    "url": "https://railway.com/deploy/grafana-dashboards",
    "upstream": {
      "image": "grafana/grafana:latest"
    }
  },
  "services": [
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "image-renderer",
      "source": {
        "image": "grafana/grafana-image-renderer:latest"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Grafana",
      "source": {
        "image": "grafana/grafana:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/grafana",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Private hostname, reachable only inside the project",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Standard Redis port",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Default ACL user created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Private connection string, use this from other services",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Convenience alias of the generated password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Generated password for the default user",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Data directory, a subdirectory of the volume mount",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Private hostname, reachable only inside the project",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Standard PostgreSQL port",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "libpq alias of the superuser name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "libpq alias of the default database",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "libpq alias of the superuser password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Default database created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "rRAILWAY_PRIVATE_DOMAINailway"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "Private connection string, use this from other services",
      "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": "Validity window of the generated self-signed TLS certificate",
      "secret": false,
      "strategy": "default",
      "default": "820"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Generated superuser password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DATABASE_PUBLIC_URL",
      "service": "Postgres",
      "description": "Public connection string over the TCP proxy, for external tools",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Grace period for in-flight connections on redeploy",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "PORT",
      "service": "image-renderer",
      "description": "Port Railway health-checks",
      "secret": false,
      "strategy": "default",
      "default": "8081"
    },
    {
      "key": "LOG_LEVEL",
      "service": "image-renderer",
      "description": "Log verbosity",
      "secret": false,
      "strategy": "default",
      "default": "info"
    },
    {
      "key": "AUTH_TOKEN",
      "service": "image-renderer",
      "description": "Shared token from Grafana",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "LOG_FORMAT",
      "service": "image-renderer",
      "description": "Structured log output",
      "secret": false,
      "strategy": "default",
      "default": "json"
    },
    {
      "key": "SERVER_ADDR",
      "service": "image-renderer",
      "description": "Renderer listen address",
      "secret": false,
      "strategy": "default",
      "default": ":8081"
    },
    {
      "key": "BROWSER_TIMEZONE",
      "service": "image-renderer",
      "description": "Timezone used when rendering",
      "secret": false,
      "strategy": "default",
      "default": "Etc/UTC"
    },
    {
      "key": "API_DEFAULT_ENCODING",
      "service": "image-renderer",
      "description": "Default rendered image format",
      "secret": false,
      "strategy": "default",
      "default": "png"
    },
    {
      "key": "RATE_LIMIT_MAX_AVAILABLE",
      "service": "image-renderer",
      "description": "Memory budget for browser concurrency",
      "secret": false,
      "strategy": "default",
      "default": "6442450944"
    },
    {
      "key": "PORT",
      "service": "Grafana",
      "description": "Port Railway health-checks",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "GF_LOG_MODE",
      "service": "Grafana",
      "description": "Log to stdout",
      "secret": false,
      "strategy": "default",
      "default": "console"
    },
    {
      "key": "GF_LOG_LEVEL",
      "service": "Grafana",
      "description": "Log verbosity",
      "secret": false,
      "strategy": "default",
      "default": "info"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Grafana",
      "description": "Lets startup fix volume ownership",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "GF_DATABASE_HOST",
      "service": "Grafana",
      "description": "Database host and port",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "GF_DATABASE_NAME",
      "service": "Grafana",
      "description": "Database name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "GF_DATABASE_TYPE",
      "service": "Grafana",
      "description": "Backend database engine",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "GF_DATABASE_USER",
      "service": "Grafana",
      "description": "Database user",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "GF_SERVER_DOMAIN",
      "service": "Grafana",
      "description": "Public hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "GF_SERVER_ROOT_URL",
      "service": "Grafana",
      "description": "Public base URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "GF_SERVER_HTTP_PORT",
      "service": "Grafana",
      "description": "HTTP listening port",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "GF_DATABASE_PASSWORD",
      "service": "Grafana",
      "description": "Database password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "GF_DATABASE_SSL_MODE",
      "service": "Grafana",
      "description": "Private network, no TLS needed",
      "secret": false,
      "strategy": "default",
      "default": "disable"
    },
    {
      "key": "GF_REMOTE_CACHE_TYPE",
      "service": "Grafana",
      "description": "Remote cache backend",
      "secret": false,
      "strategy": "default",
      "default": "redis"
    },
    {
      "key": "GF_SECURITY_ADMIN_USER",
      "service": "Grafana",
      "description": "Built-in admin username",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "GF_SECURITY_SECRET_KEY",
      "service": "Grafana",
      "description": "Encrypts stored data source credentials",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "GF_USERS_ALLOW_SIGN_UP",
      "service": "Grafana",
      "description": "Disable open registration",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "GF_REMOTE_CACHE_CONNSTR",
      "service": "Grafana",
      "description": "Redis cache connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "GF_RENDERING_SERVER_URL",
      "service": "Grafana",
      "description": "Private renderer endpoint",
      "secret": false,
      "strategy": "default",
      "default": "http://image-renderer.railway.internal:8081/render"
    },
    {
      "key": "GF_AUTH_ANONYMOUS_ENABLED",
      "service": "Grafana",
      "description": "Disable anonymous access",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "GF_RENDERING_CALLBACK_URL",
      "service": "Grafana",
      "description": "Callback URL renderer loads",
      "secret": false,
      "strategy": "default",
      "default": "http://grafana.railway.internal:3000/"
    },
    {
      "key": "GF_SECURITY_COOKIE_SECURE",
      "service": "Grafana",
      "description": "HTTPS-only session cookies",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "GF_SECURITY_ADMIN_PASSWORD",
      "service": "Grafana",
      "description": "Set this — your admin password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "GF_RENDERING_RENDERER_TOKEN",
      "service": "Grafana",
      "description": "Shared token for render requests",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "GF_SECURITY_CONTENT_SECURITY_POLICY",
      "service": "Grafana",
      "description": "Enable content security policy",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "GF_SECURITY_STRICT_TRANSPORT_SECURITY",
      "service": "Grafana",
      "description": "Send HSTS header",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "GF_SECURITY_CONTENT_SECURITY_POLICY_TEMPLATE",
      "service": "Grafana",
      "description": "CSP allowing blob: image export",
      "secret": false,
      "strategy": "default",
      "default": "script-src 'self' 'unsafe-eval' 'unsafe-inline' 'strict-dynamic' $NONCE;object-src 'none';font-src 'self';style-src 'self' 'unsafe-inline' blob:;img-src * data: blob:;base-uri 'self';connect-src 'self' grafana.com ws://$ROOT_PATH wss://$ROOT_PATH;manifest-src 'self';media-src 'none';form-action 'self' $FORM_ACTION_ADDITIONAL_HOSTS;"
    },
    {
      "key": "GF_SECURITY_STRICT_TRANSPORT_SECURITY_MAX_AGE_SECONDS",
      "service": "Grafana",
      "description": "HSTS max age, one year",
      "secret": false,
      "strategy": "default",
      "default": "31536000"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "grafana-dashboards"
      }
    },
    "cli": "railway deploy --template grafana-dashboards",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "0b955b7b-4872-4ec0-9000-7a53ba045928",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "160e5055-4df5-4e04-a440-10be974a40a0": {
                  "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"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "Private hostname, reachable only inside the project",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Standard Redis port",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "Default ACL user created on first boot",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Private connection string, use this from other services",
                      "defaultValue": "redis://${{REDISUSER}}:${{REDIS_PASSWORD}}@${{REDISHOST}}:${{REDISPORT}}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "description": "Convenience alias of the generated password",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated password for the default user",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "160e5055-4df5-4e04-a440-10be974a40a0": {
                      "mountPath": "/data"
                    }
                  }
                },
                "65eb0eba-1497-4b52-a4b6-cbfc050f2293": {
                  "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:18"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Data directory, a subdirectory of the volume mount",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Private hostname, reachable only inside the project",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Standard PostgreSQL port",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "libpq alias of the superuser name",
                      "defaultValue": "${{POSTGRES_USER}}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "libpq alias of the default database",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "libpq alias of the superuser password",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Default database created on first boot",
                      "defaultValue": "rRAILWAY_PRIVATE_DOMAINailway"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Private connection string, use this from other services",
                      "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": "Validity window of the generated self-signed TLS certificate",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated superuser password",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "DATABASE_PUBLIC_URL": {
                      "description": "Public connection string over the TCP proxy, for external tools",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}/${{PGDATABASE}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Grace period for in-flight connections on redeploy",
                      "defaultValue": "60"
                    }
                  },
                  "volumeMounts": {
                    "65eb0eba-1497-4b52-a4b6-cbfc050f2293": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "757c45b9-6d6f-4220-b76a-d1eeaf97528b": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/grafana.svg",
                  "name": "image-renderer",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "grafana/grafana-image-renderer:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port Railway health-checks",
                      "defaultValue": "8081"
                    },
                    "LOG_LEVEL": {
                      "isOptional": false,
                      "description": "Log verbosity",
                      "defaultValue": "info"
                    },
                    "AUTH_TOKEN": {
                      "isOptional": false,
                      "description": "Shared token from Grafana",
                      "defaultValue": "${{Grafana.GF_RENDERING_RENDERER_TOKEN}}"
                    },
                    "LOG_FORMAT": {
                      "isOptional": false,
                      "description": "Structured log output",
                      "defaultValue": "json"
                    },
                    "SERVER_ADDR": {
                      "isOptional": false,
                      "description": "Renderer listen address",
                      "defaultValue": ":8081"
                    },
                    "BROWSER_TIMEZONE": {
                      "isOptional": false,
                      "description": "Timezone used when rendering",
                      "defaultValue": "Etc/UTC"
                    },
                    "API_DEFAULT_ENCODING": {
                      "isOptional": false,
                      "description": "Default rendered image format",
                      "defaultValue": "png"
                    },
                    "RATE_LIMIT_MAX_AVAILABLE": {
                      "isOptional": false,
                      "description": "Memory budget for browser concurrency",
                      "defaultValue": "6442450944"
                    }
                  }
                },
                "8be7473e-75fa-48c5-b5a7-d6b8b6666402": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/grafana.svg",
                  "name": "Grafana",
                  "deploy": {
                    "startCommand": "/bin/sh -c 'echo \"boot: uid=$(id -u) mem.max=$(cat /sys/fs/cgroup/memory.max 2>/dev/null) cpu.max=$(cat /sys/fs/cgroup/cpu.max 2>/dev/null)\"; mkdir -p /var/lib/grafana/plugins /var/lib/grafana/png /var/lib/grafana/csv; chown -R 472:472 /var/lib/grafana; export HOME=/usr/share/grafana; exec su -s /bin/sh -p -c \"id; exec /run.sh\" grafana'",
                    "healthcheckPath": "/api/health",
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "grafana/grafana:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port Railway health-checks",
                      "defaultValue": "3000"
                    },
                    "GF_LOG_MODE": {
                      "isOptional": false,
                      "description": "Log to stdout",
                      "defaultValue": "console"
                    },
                    "GF_LOG_LEVEL": {
                      "isOptional": false,
                      "description": "Log verbosity",
                      "defaultValue": "info"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Lets startup fix volume ownership",
                      "defaultValue": "0"
                    },
                    "GF_DATABASE_HOST": {
                      "isOptional": false,
                      "description": "Database host and port",
                      "defaultValue": "${{Postgres.PGHOST}}:${{Postgres.PGPORT}}"
                    },
                    "GF_DATABASE_NAME": {
                      "isOptional": false,
                      "description": "Database name",
                      "defaultValue": "${{Postgres.PGDATABASE}}"
                    },
                    "GF_DATABASE_TYPE": {
                      "isOptional": false,
                      "description": "Backend database engine",
                      "defaultValue": "postgres"
                    },
                    "GF_DATABASE_USER": {
                      "isOptional": false,
                      "description": "Database user",
                      "defaultValue": "${{Postgres.PGUSER}}"
                    },
                    "GF_SERVER_DOMAIN": {
                      "isOptional": false,
                      "description": "Public hostname",
                      "defaultValue": "${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "GF_SERVER_ROOT_URL": {
                      "isOptional": false,
                      "description": "Public base URL",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "GF_SERVER_HTTP_PORT": {
                      "isOptional": false,
                      "description": "HTTP listening port",
                      "defaultValue": "3000"
                    },
                    "GF_DATABASE_PASSWORD": {
                      "isOptional": false,
                      "description": "Database password",
                      "defaultValue": "${{Postgres.PGPASSWORD}}"
                    },
                    "GF_DATABASE_SSL_MODE": {
                      "isOptional": false,
                      "description": "Private network, no TLS needed",
                      "defaultValue": "disable"
                    },
                    "GF_REMOTE_CACHE_TYPE": {
                      "isOptional": false,
                      "description": "Remote cache backend",
                      "defaultValue": "redis"
                    },
                    "GF_SECURITY_ADMIN_USER": {
                      "isOptional": false,
                      "description": "Built-in admin username",
                      "defaultValue": "admin"
                    },
                    "GF_SECURITY_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Encrypts stored data source credentials",
                      "defaultValue": "{{GF_SECURITY_SECRET_KEY}}"
                    },
                    "GF_USERS_ALLOW_SIGN_UP": {
                      "isOptional": false,
                      "description": "Disable open registration",
                      "defaultValue": "false"
                    },
                    "GF_REMOTE_CACHE_CONNSTR": {
                      "isOptional": false,
                      "description": "Redis cache connection string",
                      "defaultValue": "addr=${{Redis.REDISHOST}}:${{Redis.REDISPORT}},password=${{Redis.REDISPASSWORD}},db=0,ssl=false"
                    },
                    "GF_RENDERING_SERVER_URL": {
                      "isOptional": false,
                      "description": "Private renderer endpoint",
                      "defaultValue": "http://image-renderer.railway.internal:8081/render"
                    },
                    "GF_AUTH_ANONYMOUS_ENABLED": {
                      "isOptional": false,
                      "description": "Disable anonymous access",
                      "defaultValue": "false"
                    },
                    "GF_RENDERING_CALLBACK_URL": {
                      "isOptional": false,
                      "description": "Callback URL renderer loads",
                      "defaultValue": "http://grafana.railway.internal:3000/"
                    },
                    "GF_SECURITY_COOKIE_SECURE": {
                      "isOptional": false,
                      "description": "HTTPS-only session cookies",
                      "defaultValue": "true"
                    },
                    "GF_SECURITY_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Set this — your admin password",
                      "defaultValue": "{{GF_SECURITY_ADMIN_PASSWORD}}"
                    },
                    "GF_RENDERING_RENDERER_TOKEN": {
                      "isOptional": false,
                      "description": "Shared token for render requests",
                      "defaultValue": "{{GF_RENDERING_RENDERER_TOKEN}}"
                    },
                    "GF_SECURITY_CONTENT_SECURITY_POLICY": {
                      "isOptional": false,
                      "description": "Enable content security policy",
                      "defaultValue": "true"
                    },
                    "GF_SECURITY_STRICT_TRANSPORT_SECURITY": {
                      "isOptional": false,
                      "description": "Send HSTS header",
                      "defaultValue": "true"
                    },
                    "GF_SECURITY_CONTENT_SECURITY_POLICY_TEMPLATE": {
                      "isOptional": false,
                      "description": "CSP allowing blob: image export",
                      "defaultValue": "script-src 'self' 'unsafe-eval' 'unsafe-inline' 'strict-dynamic' $NONCE;object-src 'none';font-src 'self';style-src 'self' 'unsafe-inline' blob:;img-src * data: blob:;base-uri 'self';connect-src 'self' grafana.com ws://$ROOT_PATH wss://$ROOT_PATH;manifest-src 'self';media-src 'none';form-action 'self' $FORM_ACTION_ADDITIONAL_HOSTS;"
                    },
                    "GF_SECURITY_STRICT_TRANSPORT_SECURITY_MAX_AGE_SECONDS": {
                      "isOptional": false,
                      "description": "HSTS max age, one year",
                      "defaultValue": "31536000"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  },
                  "volumeMounts": {
                    "8be7473e-75fa-48c5-b5a7-d6b8b6666402": {
                      "mountPath": "/var/lib/grafana"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Grafana",
      "method": "GET",
      "path": "/api/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 4,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T10:14:45.332Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-04T13:49:56.871Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_84a65fda6c2d4e88940f",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 87,
    "typical_build_seconds": 0,
    "typical_start_seconds": 20,
    "slowest_service": "image-renderer"
  }
}
