ToolJet/docs/versioned_docs/version-2.19.0/setup/digitalocean.md

3.4 KiB

id title
digitalocean DigitalOcean

Deploying ToolJet on DigitalOcean

Now you can quickly deploy ToolJet using the Deploy to DigitalOcean button.

If you have any questions feel free to join our Slack Community or send us an email at hello@tooljet.com.

Redis setup

ToolJet requires configuring Redis which is used for enabling multiplayer editing and for background jobs.

Follow the steps below to configure Redis database:

  1. Navigate to Database and create a database cluster.
ToolJet - Deploy on DigitalOcean
  1. Select Redis from the database engine and add a unique name to the cluster and click on Create Database cluster.
ToolJet - Deploy on DigitalOcean
  1. Once the set-up is complete, add the Redis connection string in the environmental variable of tooliet-app.

Deploying

Follow the steps below to deploy ToolJet on DigitalOcean:

  1. Click on the button below to start one click deployment

Deploy to DigitalOcean

  1. A new tab will open up, sign-in to your DigitalOCean account. Once signed-in, the Create App page will open up and Resources will be already selected. Click on Next button.
ToolJet - Deploy on DigitalOcean - Resources
  1. Now, on Environment Variables page you can add new variables or edit the existing ones. Check the environment variables here.

Also, please add the redis url in the environment variable REDIS_URL= #connection string

ToolJet - Deploy on DigitalOcean - Environment Variables
  1. On the next page, you can change the App name, Project, and the Region.
ToolJet - Deploy on DigitalOcean - Launch
  1. On the last page, you'll be asked to Review all the app details such that we entered before such as Resources, Environment Variables, Region, and there will also be Billing section at the end. Review all the details and click the Create Resource button.
ToolJet - Deploy on DigitalOcean - Launch
  1. Once you click the Create Resource button, the build will begin. Once the build is complete, you'll see the resource and a URL next to it. Click on the URL to open the deployed ToolJet.

:::tip ToolJet server and client can be deployed as standalone applications. If you do not want to deploy the client on DigitalOcean, modify package.json accordingly. We have a guide on deploying ToolJet client using services such as Firebase. :::