Update README.md

fix typos; add docker create web.
This commit is contained in:
sym 2021-03-11 14:31:07 +01:00 committed by GitHub
parent 8845734b91
commit a67931a241
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,9 +126,15 @@ make
``` ```
to generate the ldap-overleaf-sl docker image. to generate the ldap-overleaf-sl docker image.
use the command
```
docker network create web
```
to create a network for the docker instances.
Then start docker containers (with loadbalancer): Then start docker containers (with loadbalancer):
``` ```
export NUMINSTANCES=1 export NUMINSTANCES=1
docker-compose up -d --scale sharelaatex=NUMINSTANCES docker-compose up -d --scale sharelatex=$NUMINSTANCES
``` ```