Obtaining a LetsEncrypt SSL Certificate when using Docker

🚧

Note

If you're deploying Retool on a VPC, LetsEncrypt won't be able to perform the challenge necessary to provision a certificate. In this case, you'll need to manually add your certificates.

First set up a DNS so that retool.yourcompany.com points to the Retool server
Then edit the docker.env file and change the following line:

Before

DOMAINS=XX.XXX.XXX.XXX -> http://api:3000

After

DOMAINS=retool.yourcompany.com -> http://api:3000
Edit the docker-compose.yml file and make the following changes:

Before

...
https-portal:
...
environment:
STAGE: 'local' # <- Change 'local' to 'production' to use a LetsEncrypt signed SSL cert
networks:
- frontend-network
...

After

...
https-portal:
...
environment:
STAGE: 'production'
networks:
- frontend-network
...


Did this page help you?