🔧 AI Nachrichten Major AI platforms go down in unprecedented simultaneous outage(03.09.2026 um 17:34 Uhr)
🔧 AI Nachrichten ChatGPT, Claude, and Grok Down? Users Report Widespread Outages(03.09.2026 um 19:14 Uhr)
🔧 AI Nachrichten OpenAI Launches GPT-6 Astra, Says We May Have Entered the AGI Era(03.09.2026 um 22:08 Uhr)
🔧 AI Nachrichten Claude Comes to CarPlay as Fifth Major AI Chatbot App(05.09.2026 um 05:31 Uhr)
🔧 AI Nachrichten OpenAI’s GPT-6 Astra Is AGI, Says NVIDIA CEO Jensen Huang(07.09.2026 um 06:31 Uhr)
🔧 AI Nachrichten Blame AI companies for Mac mini and Mac Studio shortage(31.08.2026 um 10:32 Uhr)
🔧 AI Nachrichten Major AI platforms go down in unprecedented simultaneous outage(03.09.2026 um 17:34 Uhr)
🔧 AI Nachrichten ChatGPT, Claude, and Grok Down? Users Report Widespread Outages(03.09.2026 um 19:14 Uhr)
🔧 AI Nachrichten OpenAI Launches GPT-6 Astra, Says We May Have Entered the AGI Era(03.09.2026 um 22:08 Uhr)
🔧 AI Nachrichten Claude Comes to CarPlay as Fifth Major AI Chatbot App(05.09.2026 um 05:31 Uhr)
🔧 AI Nachrichten OpenAI’s GPT-6 Astra Is AGI, Says NVIDIA CEO Jensen Huang(07.09.2026 um 06:31 Uhr)
🔧 AI Nachrichten Blame AI companies for Mac mini and Mac Studio shortage(31.08.2026 um 10:32 Uhr)

🔧 Programmierung 🕛 kürzlich 3 Min Lesezeit
0

Deploying Overleaf Open-Source LaTeX Collaboration Platform on Ubuntu 24.04

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

Overleaf is an open-source, collaborative LaTeX editor that bundles MongoDB, Redis, and the ShareLaTeX application into a single self-hosted stack. This guide deploys Overleaf Community Edition using the official Toolkit plus a Traefik override that adds automatic HTTPS via Let's Encrypt. By the end, you'll have Overleaf serving collaborative LaTeX editing securely at your domain.









Set Up the Project Directory



1. Clone the Overleaf Toolkit:




CODE
$ git clone https://github.com/overleaf/toolkit.git ~/overleaf-toolkit
$ cd ~/overleaf-toolkit






2. Initialize the configuration:




CODE
$ bin/init






This creates config/overleaf.rc, config/variables.env, and config/version.



3. Create a directory for Traefik file-provider routes:




CODE
$ mkdir traefik-routes












Configure Overleaf for a Reverse Proxy



1. Edit config/variables.env:




CODE
$ nano config/variables.env









CODE
OVERLEAF_APP_NAME="My Overleaf Instance"
OVERLEAF_SITE_URL=https://overleaf.example.com
OVERLEAF_NAV_TITLE="Overleaf CE"
OVERLEAF_BEHIND_PROXY=true
OVERLEAF_SECURE_COOKIE=true






The last two flags are required when Overleaf is fronted by an HTTPS reverse proxy.



2. Edit config/overleaf.rc:




CODE
$ nano config/overleaf.rc









CODE
SIBLING_CONTAINERS_ENABLED=false






3. Create the project-level .env file used by the Traefik Compose file:




CODE
$ nano .env









CODE
DOMAIN=overleaf.example.com
LETSENCRYPT_EMAIL=[email protected]
SERVER_IP=192.0.2.1






SERVER_IP should be the server's public IP (Traefik binds 80/443 to it).









Add the Traefik Route



1. Create the dynamic route:




CODE
$ nano traefik-routes/overleaf.yml









CODE
http:
routers:
overleaf:
rule: "Host(`overleaf.example.com`)"
service: overleaf
entryPoints:
- websecure
tls:
certResolver: le
services:
overleaf:
loadBalancer:
servers:
- url: "http://sharelatex:80"






2. Create the Traefik Compose file:




CODE
$ nano docker-compose.traefik.yml









CODE
services:
traefik:
image: traefik:v3.6
container_name: traefik
restart: unless-stopped
command:
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=false"
- "--providers.file.directory=/etc/traefik/routes"
- "--entrypoints.web.address=:80"
- "--entrypoints.websecure.address=:443"
- "--entrypoints.web.http.redirections.entrypoint.to=websecure"
- "--entrypoints.web.http.redirections.entrypoint.scheme=https"
- "--certificatesresolvers.le.acme.httpchallenge=true"
- "--certificatesresolvers.le.acme.httpchallenge.entrypoint=web"
- "--certificatesresolvers.le.acme.email=${LETSENCRYPT_EMAIL}"
- "--certificatesresolvers.le.acme.storage=/letsencrypt/acme.json"
ports:
- "${SERVER_IP}:80:80"
- "${SERVER_IP}:443:443"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./letsencrypt:/letsencrypt
- ./traefik-routes:/etc/traefik/routes
networks:
- overleaf_default

networks:
overleaf_default:
external: true












Start the Stacks



1. Add your user to the Docker group:




CODE
$ sudo usermod -aG docker $USER
$ newgrp docker






2. Run the Toolkit doctor:




CODE
$ bin/doctor






3. Start Overleaf (sharelatex + mongo + redis):




CODE
$ bin/up -d
$ bin/docker-compose ps






4. Start Traefik in the same Docker network:




CODE
$ docker compose -f docker-compose.traefik.yml up -d
$ docker compose -f docker-compose.traefik.yml ps
$ docker compose -f docker-compose.traefik.yml logs traefik












Create the Admin and First Project



1. Open the launchpad and register the admin user:




CODE
https://overleaf.example.com/launchpad






2. Sign in, then open Admin → Manage Users to create more accounts.



3. Create your first LaTeX project:




  • Visit https://overleaf.example.com/project.

  • Click Create a new project → Example project.

  • Enter a name and click Create.

  • Edit the default template and click Recompile to render the PDF preview.









Next Steps



Overleaf CE is running and served securely over HTTPS. From here you can:




  • Configure SMTP under config/variables.env for invitations and notifications

  • Mount external storage volumes for data/sharelatex_data to scale capacity

  • Pin the Overleaf release in config/version and use bin/upgrade for controlled updates



For the full guide with additional tips, visit the original article on Vultr Docs.

Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
3 Quellen
GPT-6 Astra Release Today? OpenAI’s Next Major AI Model Is Almost Here
1 Quelle
Apple accuses OpenAI of destroying evidence as trade-secrets fight intensifies
1 Quelle
Major AI platforms go down in unprecedented simultaneous outage
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Deploying Overleaf Open-Source LaTeX Collaboration Platform on Ubuntu 24.04

Thematisch verwandte Begriffe: Deploying, Overleaf, OpenSource, LaTeX · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...