Deployment Environments

Deploy on Vercel

The server can be easily deployed as a Vercel Serverless Function using the deploy button.

Note: Local storage isn’t supported for this deployment method.

Deploy with Vercel

Deploy on Docker

You can find the image on the dockerhub.

  1. create an .env file containing all the env vars you need. Check environment variables for more info.
    NODE_ENV=
    PORT=
    TURBO_TOKEN=
    LOG_LEVEL=
    STORAGE_PROVIDER=
    STORAGE_PATH=
    AWS_ACCESS_KEY_ID=
    AWS_SECRET_ACCESS_KEY=
    AWS_REGION=
    S3_ENDPOINT=
    
  2. run the image using the .env file created on the step one.
    docker run --env-file=.env -p 3000:3000 ducktors/turborepo-remote-cache
    

Deploy on DigitalOcean

The server can be easily deployed on DigitalOcean App Services.

Note: Local storage isn’t supported for this deployment method.

Deploy to DO

Deploy on AWS Lambda

This server can be deployed as an AWS Lambda Function. See this guide on deployment steps.

Deploy “remoteless” with npx

If you have Node.js installed, you can run the server simply by typing

npx turborepo-remote-cache

Note: Same env vars rules apply as for other deployments.