My goal: Deploy Retool without temporal
Setup
I’m following the tutorial to self host Retool using the AWS EC2 tutorial. I’m using:
- the version of Retool that comes from cloning your repo, as of yesterday
- docker
3.253.6-stable - Ubuntu 24.04.3 LTS
I would like not to use Temporal. I am using Aurora instead, as in the tutorial, you mention the below.
Retool recommends using a separate datastore for the Workflows Queue in production. Consider using AWS Aurora Serverless V2 configured to an ACU (cpu) provision ranging from 0.5 to 8 ACU.
The tutorial also instructs users to use default values in the configuration during set up, and so I have done this.
The issue
I run sudo docker compose up -d and all 11 containers are marked as running. However, when I try http://<your-ec2-ip-address>/auth/signup I get:
The connection to the server was reset while the page was loading.
My EC2 has HTTP port open, which I can see when I scan with nmap.
I have tried to dig into the logs with sudo docker logs --tail=100 retool-onpremise-master-code-executor-1 in docker and I see:
Error when executing code in sandbox. Is the container configured with privileged and cloneUserNs permissions? If you do not need code sandboxing, set CONTAINER_UNPRIVILEGED_MODE='true' environment variable
However, the code executor block in my compose.yml has privelged: true and I have set CONTAINER_UNPRIVILEGED_MODE='true' in docker.env.
Please could you advise on how best to fix this issue?