Skip to main content
Express runs on slipway as a web service on the Node runtime.

Prerequisites

An Express app in a GitHub or GitLab repository.

Configure the app

Bind to 0.0.0.0 and read PORT:
index.js
If your app sits behind slipway’s edge and you read client IPs or use secure cookies, trust the proxy:

Add slipway.yaml

slipway.yaml
If your app has a build step, add it:
slipway.yaml

Add a database and a cache

slipway.yaml
Redis needs no diskSizeGB when you are using it as a cache. See Redis.

Graceful shutdown

Handle SIGTERM so in-flight requests finish during a rollout:
slipway allows 30 seconds by default. Raise it with maxShutdownDelaySeconds up to 300.

Next steps

Scaling

Run several replicas behind the load balancer.

Logs and shell

Watch output and exec into the container.