From 169723f492eb083ae3ebd5c6038b04a7a0bdf4a7 Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Wed, 28 Aug 2024 13:29:49 +0200 Subject: [PATCH] Merge pull request #20159 from overleaf/jpa-enable-sandboxed-by-default-dc [server-pro] enable sandboxed compiles by default in docker-compose GitOrigin-RevId: bb02fd992a6b36d4c49a8a642c156f014777d037 --- docker-compose.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index d8384ee0e1..20b0b3cf11 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -80,12 +80,11 @@ services: ## Server Pro ## ################ - # SANDBOXED_COMPILES: 'true' - - # SANDBOXED_COMPILES_SIBLING_CONTAINERS: 'true' - # SANDBOXED_COMPILES_HOST_DIR: '/var/sharelatex_data/data/compiles' - - # DOCKER_RUNNER: 'false' + ## Sandboxed Compiles: https://github.com/overleaf/overleaf/wiki/Server-Pro:-Sandboxed-Compiles + SANDBOXED_COMPILES: 'true' + SANDBOXED_COMPILES_SIBLING_CONTAINERS: 'true' + ### Bind-mount source for /var/lib/overleaf/data/compiles inside the container. + SANDBOXED_COMPILES_HOST_DIR: '/home/user/sharelatex_data/data/compiles' ## Works with test LDAP server shown at bottom of docker compose # OVERLEAF_LDAP_URL: 'ldap://ldap:389'