浏览代码

Merge pull request #14843 from overleaf/jpa-no-restart

[misc] avoid restarting docker containers in the dev-env

GitOrigin-RevId: a435a5e51a77ab7c7f39c0d540cedda2de851498
Jakob Ackermann 2 年之前
父节点
当前提交
42ea0ebf0d
共有 2 个文件被更改,包括 0 次插入4 次删除
  1. 0 2
      services/web/docker-compose.ci.yml
  2. 0 2
      services/web/docker-compose.yml

+ 0 - 2
services/web/docker-compose.ci.yml

@@ -98,7 +98,6 @@ services:
     command: --replSet overleaf
 
   ldap:
-    restart: always
     image: rroemhild/test-openldap:1.1
     # Workaround large memory allocation (using the max-open-files-limit as socket buffer scale).
     # REF: https://github.com/moby/moby/issues/8231#issuecomment-63877553
@@ -109,7 +108,6 @@ services:
       - 'ulimit -n 1024 && exec bash /run.sh'
 
   saml:
-      restart: always
       image: gcr.io/overleaf-ops/saml-test
       environment:
           SAML_BASE_URL_PATH: 'http://saml/simplesaml/'

+ 0 - 2
services/web/docker-compose.yml

@@ -93,7 +93,6 @@ services:
     command: --replSet overleaf
 
   ldap:
-    restart: always
     image: rroemhild/test-openldap:1.1
     # Workaround large memory allocation (using the max-open-files-limit as socket buffer scale).
     # REF: https://github.com/moby/moby/issues/8231#issuecomment-63877553
@@ -104,7 +103,6 @@ services:
       - 'ulimit -n 1024 && exec bash /run.sh'
 
   saml:
-      restart: always
       image: gcr.io/overleaf-ops/saml-test
       environment:
           SAML_BASE_URL_PATH: 'http://saml/simplesaml/'