ToolJet/docs/versioned_docs/version-3.16.0-LTS/setup/digitalocean.md
Adish M 03e074ad48
docs: Add workflow scheduling instructions and Redis configuration guidance across deployment documentation (#14307)
* Update workflow scheduling instructions across multiple deployment documents

* refactor docs for support new workflow style with redis

* Add warning about whitelisting ToolJet AI features in DigitalOcean and Try ToolJet setup documentation

* Remove "High-Level" from the "How It Works" section title in the migration guide

* Add note about ToolJet version compatibility in migration guide

* Add migration guide reference for users transitioning from Temporal-based workflows

* Update documentation to recommend external Redis for multiple workflow workers across various deployment setups

* Update Docker setup instructions and clarify migration guide version compatibility

* Remove rollback plan section from the Temporal to BullMQ migration guide

* Update documentation to clarify external Redis requirements for multiple worker setups

* Remove TOOLJET_QUEUE_DASH_PASSWORD references from environment variable documentation across multiple setup guides

* Update Redis configuration documentation to clarify external instance requirements and add workflow scheduling variables

* Update migration guide to reflect correct ToolJet version for BullMQ transition
2025-11-12 16:25:56 +05:30

89 lines
2.9 KiB
Markdown

---
id: digitalocean
title: DigitalOcean
---
Follow the steps below to deploy ToolJet on a DigitalOcean Droplet.
:::warning
To use ToolJet AI features in your deployment, make sure to whitelist `https://api-gateway.tooljet.ai` and `https://python-server.tooljet.ai` in your network settings.
:::
**1. Navigate to the Droplets section in DigitalOcean.**
<div style={{textAlign: 'center'}}>
<img className="screenshot-full" src="/img/setup/digitalocean/droplet_1.png" alt="create a Droplet" />
</div>
**2. Configure the **Droplet** with the following options:**
- **Image**: Ubuntu
- **Plan**: Choose a plan (e.g., Basic, 4GB RAM, 2 vCPU)
<div style={{textAlign: 'center'}}>
<img className="screenshot-full" src="/img/setup/digitalocean/droplet_plan.png" alt="use a droplet plan" />
</div>
- **Auth**: For authentication, use password or ssh
- Click **Create Droplet** and note the assigned public IP
**3. Create a Firewall for the **Droplets** to allow required ports.**
| protocol | port | allowed_cidr |
| :------- | :--- | :----------- |
| tcp | 22 | your IP |
| tcp | 80 | 0.0.0.0/0 |
| tcp | 443 | 0.0.0.0/0 |
**4. Connect to the **Droplets** via SSH.**
**5. Install Docker and Docker Compose using the following commands:**
```bash
apt update && apt upgrade -y
apt install -y docker.io
```
Enable and start Docker:
```bash
systemctl enable docker
systemctl start docker
```
Install Docker Compose:
```bash
apt install -y curl
curl -SL https://github.com/docker/compose/releases/latest/download/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
```
Verify installation:
```bash
docker --version
docker-compose --version
```
**6. Update the `TOOLJET_HOST` in the `.env` file:**
`TOOLJET_HOST=http://<public_ip>:80`
**7. Use the [Docker Documentation](https://docs.tooljet.ai/docs/setup/docker) to deploy ToolJet.**
## 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](https://hub.docker.com/r/tooljet/tooljet/tags) 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.
If you have any questions feel free to join our [Slack Community](https://join.slack.com/t/tooljet/shared_invite/zt-2rk4w42t0-ZV_KJcWU9VL1BBEjnSHLCA) or send us an email at support@tooljet.com.