Video coming soon…

🛠️ Setup Overleaf — Self-Hosted Collaborative LaTeX Editor

Deploy Overleaf (Community Edition) on Ubuntu with Docker, MongoDB, and Redis — a self-hosted collaborative LaTeX editor with live PDF compilation, on port 8214.

⚠️ This script is provided for demo and testing purposes only. Not intended for production use.

📦 Resources & Setup Scripts

Grab the automated bash script from GitHub to follow along with the video.

Automated install script — one command deploys Overleaf with MongoDB and Redis. Create the first admin at /launchpad after install.
View on GitHub

Quick Install:

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/tools/overleaf/overleaf-ubuntu.sh
chmod +x overleaf-ubuntu.sh
sudo bash overleaf-ubuntu.sh

Tutorial Steps

1 Download the Script

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/tools/overleaf/overleaf-ubuntu.sh

2 Make it Executable

chmod +x overleaf-ubuntu.sh

3 Run the Installer

The script installs Docker if needed and starts Overleaf with MongoDB (as a replica set) and Redis on port 8214. The first boot takes time as it initialises, and TeX Live packages are large.

sudo bash overleaf-ubuntu.sh

4 Create the First Admin

Once it's up, go to the launchpad page to create the first administrator account:

http://<your-server-ip>:8214/launchpad

Ports Used

PortPurpose
8214Web UI (host → container 80) — create admin at /launchpad
internalMongoDB (replica set rs0) + Redis (not published)
TeX LiveBundled — first boot is slow

Overview

Why Use It

When You Need It

    Who Should Use It

      Real Use Cases

        Main Features

          How to Use After Installation

            Security Best Practices

              Ports and Firewall Notes

              Backup and Maintenance

                Common Mistakes

                  Troubleshooting

                    Alternatives

                    When Not to Use It

                    PrismaTechWork Professional Help

                      Contact Us

                      Frequently Asked Questions