Skip to main content

Documentation Index

Fetch the complete documentation index at: https://www.sunny-dev.info/llms.txt

Use this file to discover all available pages before exploring further.

Web Services require consistent compute and memory allocation to handle incoming traffic. You can define these resources per environment to optimize for cost and performance.

Resource Allocation

ParameterRecommended (Prod)Recommended (Staging)
CPU42
Memory16 GB8 GB
Storage30 GB15 GB

Configuration

Define your compute resources and monitoring insights in revolte.yaml.
revolte.yaml
revolte:
  version: "1.0"
  project: Demo-Project
  appName: "demo-app"

  env:
    production:
      branch: main
      services:
        rid_1:
          type: WEB_SERVICE
          name: web_service
          entryPoint: index.js
          properties:
            health: /health
            port: 8080
            loadBalancerMode: dedicated
            variables:
              JWT_TOKEN_SECRET: "#{JWT_TOKEN_SECRET}"
              JWT_TOKEN_EXPIRY: "#{JWT_TOKEN_EXPIRY}"

          insights:
            cpu:
              - cpu_time_idle
            swap:
              - swap_used
            mem:
              - mem_total
            disk:
              - disk_total
          specifications:
            cpu: 4
            memory: 16
            storage: 30

Next Steps