git clone https://github.com/overleaf/overleaf.git
I am using commit 6fa708982b376b8c7d281ef1d9c1f2487c34124e on the main branch
Inside the overleaf repository:
docker build -t sharelatex-base -f ./server-ce/Dockerfile-base .
docker build -t sharelatex -f ./server-ce/Dockerfile --build-arg OVERLEAF_BASE_TAG=sharelatex-base .
Use the attached Dockerfile.full file
docker build -t sharelatex-full -f ./Dockerfile-full .
docker tag sharelatex-full:latest sharelatex/sharelatex:latest
Inside the overleaf repository:
docker compose up -d
First launch: Navigate to http://127.0.0.1:80/launchpad to create the admin account.
Navigate to http://127.0.0.1:80 on your web browser. Have fun! :)