ToolJet/docs/versioned_docs/version-3.5.0-LTS/setup/try-tooljet.md

56 lines
2 KiB
Markdown
Raw Normal View History

2024-11-10 22:27:25 +00:00
---
id: try-tooljet
title: Try ToolJet
---
## On local with Docker
::::info
This deployment is not suitable for production. It is a lightweight setup intended for quickly exploring ToolJet and trying out its features. For production-level usage, refer to the [Docker Compose](/docs/setup/docker) guide.
::::
:::warning
To enable ToolJet AI features in your ToolJet deployment, whitelist `https://api-gateway.tooljet.ai`.
:::
2024-11-10 22:27:25 +00:00
You can run the command below to have ToolJet up and running right away.
```bash
docker run \
--name tooljet \
--restart unless-stopped \
-p 80:80 \
--platform linux/amd64 \
-v tooljet_data:/var/lib/postgresql/13/main \
2024-11-12 09:51:25 +00:00
tooljet/try:ee-lts-latest
2024-11-10 22:27:25 +00:00
```
#### Setup information
- Runs the ToolJet server on the port 80 on your machine.
- Container has postgres already configured within. All the data will be available in the docker volume `tooljet_data`.
- You can make use of `--env` or `--env-file` flag to test against various env configurables mentioned [here](/docs/setup/env-vars).
2024-11-10 22:27:25 +00:00
- Use `docker stop tooljet` to stop the container and `docker start tooljet` to start the container thereafter.
#### Dynamic Port Setup
2024-11-10 22:27:25 +00:00
To run the ToolJet server on a different port, such as 8080 or any other port of your choice, use the following command:
```sh
docker run \
--name tooljet \
--restart unless-stopped \
-p 8080:8080 \
-e PORT=8080 \
--platform linux/amd64 \
-v tooljet_data:/var/lib/postgresql/13/main \
2024-11-12 09:51:25 +00:00
tooljet/try:ee-lts-latest
2024-11-10 22:27:25 +00:00
```
- This command will start the ToolJet server on port 8080.
- The `-e PORT=8080` flag sets the `PORT` environment variable to 8080, allowing the ToolJet server to listen on port 8080.
By following these instructions, you can easily run the ToolJet server on the port of your choice, ensuring flexibility in your setup.
_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 hello@tooljet.com._