>Tish
HomeDocs

tish.yaml

Deployment configuration reference for tish.yaml.

The tish.yaml file configures deployment settings. Build config (source, features) lives in package.json under tish.

Example

name: my-app
 
deploy:
  replicas: 1
  strategy: rolling
 
resources:
  cpu: 100m
  memory: 128Mi
 
networking:
  port: 3000
  protocol: http
  health_check:
    path: /health
    interval: 10s
    timeout: 5s

deploy

KeyDescriptionDefault
replicasNumber of instances1
strategyDeployment strategyrolling

resources

KeyDescription
cpuCPU limit (e.g. 100m)
memoryMemory limit (e.g. 128Mi)

networking

KeyDescription
portPort to expose
protocolhttp, tcp, grpc
health_check.pathHealth check endpoint
health_check.intervalCheck interval
health_check.timeoutRequest timeout

Build config (package.json)

Build settings are in package.json:

{
  "name": "my-app",
  "version": "1.0.0",
  "tish": {
    "source": "./src/main.tish",
    "features": ["http", "process"]
  }
}
KeyDescription
tish.sourceEntry point file
tish.featuresFeature flags: http, fs, process, regex, polars

Backward compatibility: If package.json has no tish section, build config is read from build in tish.yaml.

Project structure

example-name/
├── package.json    # name, version, tish.source, tish.features, dependencies
├── tish.yaml       # deploy, resources, networking
├── README.md
└── src/
    └── main.tish