Category: Deployment
Updated

This solution is summarized from an archived support forum post. This information may have changed. If you notice an error, please let us know in Discord.

SSL and Port Issue On Docker

Issue

I have spent two days trying to install Appsmith SSL on a different port, as my Digital Ocean droplet already has ports 80 and 443 occupied. Despite trying various solutions, I have not been able to resolve the issue and am seeking help from others.

Resolution

To install Appsmith SSL on a different port, the user can follow these steps:

  1. In the Appsmith Docker Compose file, change the nginx port from 80 to a different port (e.g., 8080).
  2. Restart the Docker Compose file using docker-compose down and docker-compose up -d.
  3. Modify the Digital Ocean firewall settings to allow incoming traffic on the new port.
  4. Obtain an SSL certificate and key for the new port.
  5. Update the nginx configuration file to point to the SSL certificate and key for the new port.
  6. Restart the nginx service using sudo service nginx restart.