Installing Overleaf server (community edition) on Raspberry Pi

Build docker images for ARM

git clone https://github.com/overleaf/overleaf.git
cd overleaf

make ARCH=arm build-base
make ARCH=arm build-community

Change image names

docker image tag sharelatex/sharelatex:main sharelatex/sharelatex:5.2.1

Note:
5.2.1 comes from the version file in config

Get toolkit

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

Change port

sudo vim config/overleaf.rc
  • change YourPORTChoice in OVERLEAF_PORT=YourPORTChoice

Start service

bin/up -d

Verify the service is accessible

  • Access the below link in your browser:
YourServerIP:YourPORTChoice