web service on the Node runtime.
Prerequisites
An Express app in a GitHub or GitLab repository.Configure the app
Bind to0.0.0.0 and read PORT:
index.js
Add slipway.yaml
slipway.yaml
slipway.yaml
Add a database and a cache
slipway.yaml
diskSizeGB when you are using it as a cache. See Redis.
Graceful shutdown
HandleSIGTERM so in-flight requests finish during a rollout:
maxShutdownDelaySeconds up to 300.
Next steps
Scaling
Run several replicas behind the load balancer.
Logs and shell
Watch output and exec into the container.