* docs: jira * docs: formatting + Client Credentials grant type * docs: connection string pgsql * docs: parameterized queries mysql * docs: parameterized queries in PostgreSQL * docs: update mysql example * docs: TJDB sql editor * docs: add metadata to REST API * docs: add, update postgresql media * docs: add metadata to graphql * docs: update parameterized queries * docs: add parameterized queries for mssql * docs: add SSL Cert to mysql * docs: TJDB SQL restricted commands * docs: update JIRA token location * docs: update delete issue example * docs: update find user by query example * docs: remove session id from get assignable users * docs: use correct image for get issues for board * docs: update create issue example * docs: update delete issue media * docs: update assignable users media * docs: update examples * docs: update key desc * docs: v2.68.0-Beta
5.8 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
:::info ToolJet requires configuring Redis which is used for enabling multiplayer editing and for background jobs. :::
Follow the steps below to configure Redis database:
- Navigate to Database and create a database cluster.
- Select
Redisfrom the database engine and add a unique name to the cluster and click on Create Database cluster.
- 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:
- Click on the button below to start one click deployment
- 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.
- 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
- On the next page, you can change the App name, Project, and the Region.
- 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.
- 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.
:::
Deploying ToolJet Database
If you intend to use this feature, you'd have to set up and deploy PostgREST server which helps querying ToolJet Database. You can learn more about this feature here.
Follow the steps below to deploy ToolJet Database on DigitalOcean:
-
If you are using dev database within ToolJet deployment, upgrade it to managed database. You could also add a separate database, if you intent use a different database, please refer the environment variables for additional env variables.
-
Create a new app for PostgREST server. You can opt for docker hub to deploy PostgREST image of version
10.1.x.
- Update the environment variables for PostgREST and expose the HTTP port
3000.
-
Add your newly created PostgREST app to the trusted sources of your managed or separate database.
-
Update your existing ToolJet application deployment with environment variables required for PostgREST.
Upgrading to the Latest LTS Version
New LTS versions are released every 3-5 months with an end-of-life of atleast 18 months. To check the latest LTS version, visit the ToolJet Docker Hub page. The LTS tags follow a naming convention with the prefix LTS- followed by the version number, for example tooljet/tooljet:EE-LTS-latest.
If this is a new installation of the application, you may start directly with the latest version. This guide is not required for new installations.
Prerequisites for Upgrading to the Latest LTS Version:
-
It is crucial to perform a comprehensive backup of your database before starting the upgrade process to prevent data loss.
-
Users on versions earlier than v2.23.0-ee2.10.2 must first upgrade to this version before proceeding to the LTS version.
For specific issues or questions, refer to our Slack.