Commit Graph
205 Commits
Author SHA1 Message Date
Jakob AckermannandGitHub ebd31737a5 [misc] minimize the main stage (#122)
- cleanup git history
- do not install not needed npm packages
  - The Gruntfile was removed in
    REF: 27dd97ecc5

  - The simple-git package is not used since
    REF: df2d46df82
- cleanup npm cache
- cleanup node-gyp build cache
- cleanup /tmp
- move copying of the settings defaults after the installation

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
2020-02-13 16:38:58 +01:00
Jakob AckermannandGitHub e83b7856c3 [init] bail out in case the db access fails (#123)
* [init] bail out in case the db access fails

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [misc] bail out in case any command in an init_script failed

NOTE: sh does not support `-o pipefail`.

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
2020-02-13 13:33:55 +01:00
Jakob AckermannandGitHub 47e51a2075 [misc] minimize base image (#120)
* [docker] drop sudo

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docker] install qpdf in a single stage

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docker] install texlive and additional tlmgr packages in a single stage

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docker] drop the apt package lists

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docker] pull the package lists only once

move the installation of nodejs into the dependencies install section

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docker] delete the default nginx configuration files immediately

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docker] skip the downloading and storage of unused texlive artifacts

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docker] drop the npm download cache

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* [docker] apply review feedback

- install qpdf as ubuntu package
- add a comment on the nginx config removal
- add back and update a note on changing the texlive mirror
2020-02-13 12:00:03 +01:00
Jakob AckermannandGitHub e422c20e74 [nginx] simplify the root specification for sendfile (#121)
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
2020-02-13 11:59:20 +01:00
Jakob AckermannandGitHub 5e0f94f404 [settings] produce a consistent redis config for every service (#124)
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
2020-02-13 11:56:03 +01:00
Miguel SerranoandGitHub 5c9a56d906 Removed node6 and updated modules to Node 10 (#135) 2020-02-06 11:19:15 +01:00
Jakob AckermannandGitHub f2ee880549 [misc] narrow down the rw accessible directories for the run user (#119) 2020-01-29 12:14:32 +01:00
Miguel SerranoandGitHub 3781585862 Set CRYPTO_RANDOM as environment variable at startup time (#134) 2020-01-28 07:16:23 +01:00
Jakob AckermannandGitHub 7a481d0d1d Merge pull request #133 from overleaf/jpa-dump-all-git-shas
[misc] export all git repository revisions
2020-01-23 15:37:48 +01:00
Jakob Ackermann df2d46df82 [misc] export all git repository revisions
There is a multi purpose shell script for the gathering of git revisions
 now.
It will extract all revisions that can be found in traversing of the
 current working directory. This effectively includes the
 overleaf/overleaf repo and any others that may be added downstream.
2020-01-23 10:57:36 +01:00
Miguel SerranoandGitHub bb3485016e Added missing recaptcha configuration (#132) 2020-01-21 12:37:40 +01:00
Miguel SerranoandGitHub 17bfbee183 Added environment variables for web-api user/pass (#131) 2020-01-09 15:55:57 +01:00
Miguel SerranoandGitHub 5e17a4c928 Hotfix 2.0.2 (#130) 2019-12-10 15:06:40 +01:00
Miguel SerranoandGitHub ef8f099b10 Copy synctex executable to docker host (#129) 2019-11-22 10:12:33 +01:00
Miguel SerranoandGitHub f92c6c27b0 Remove overriden v1 settings (#128) 2019-11-21 11:52:02 +01:00
Miguel SerranoandGitHub 12c18f76fd Overleaf CE Hotfix 2.0.1 (#126) 2019-10-21 11:48:01 +02:00
Miguel SerranoandGitHub 1c57b1deab Disable project-history via settings (#125) 2019-10-15 11:00:38 +02:00
Miguel SerranoandGitHub fe5cdef39c Linked CLSI synctext to /opts/synctex (#118) 2019-10-08 12:47:08 +02:00
Miguel SerranoandGitHub 4b0ea96b55 Delete aggregated error log (#117) 2019-10-08 11:54:49 +02:00
Shane KilkellyandGitHub 6f5ea89677 Merge pull request #116 from overleaf/sk-server-pro-set-socket-permissions
Copy logic from clsi entrypoint, to set permissions on docker.sock
2019-09-24 12:01:39 +01:00
Shane Kilkelly 41ba0063bc Copy logic from clsi entrypoint, to set permissions on docker.sock 2019-09-24 11:52:38 +01:00
Miguel SerranoandGitHub ece429d9b0 Added debugging support to services (#113) 2019-09-10 17:13:17 +02:00
Miguel SerranoandGitHub 6cc98a8039 Override v1.url setting with "" instead of null (#112) 2019-09-06 10:37:03 +02:00
Miguel SerranoandGitHub 38291a364e Updated settings with several fixes (#111) 2019-09-04 16:39:47 +02:00
Miguel SerranoandGitHub ad6d81a8cc Updated settings to serve minified assets (#110) 2019-09-03 11:36:39 +02:00
Miguel SerranoandGitHub 8cf70ce7f1 Server Pro fixes (#109) 2019-08-22 16:57:26 +02:00
Miguel SerranoandGitHub f4d0e0a47d Run filestore with node6 (#108) 2019-08-20 10:50:23 +02:00
Miguel SerranoandGitHub c8285484aa Merge pull request #107 from overleaf/msm-revive-overleaf-community
Revive overleaf community
2019-08-13 10:51:31 +02:00
mserranom 52a6e46cdd addressed PR comments 2019-08-08 10:44:14 +00:00
mserranom 5a4669acbc added missing aspell languages 2019-08-07 08:52:55 +00:00
mserranom 32cb10a602 Revive overleaf community 2019-08-07 08:47:05 +00:00
Shane KilkellyandGitHub e448cad7ce Merge pull request #98 from sharelatex/sk-update-readme
Update the readme with a short explanation of how this code works
2019-03-01 11:16:32 +00:00
Shane Kilkelly e359037958 remove bit from readme 2019-03-01 11:16:12 +00:00
Shane Kilkelly 03d6d80fdb Update the readme with a short explanation of how this code works 2019-02-19 10:22:40 +00:00
Shane Kilkelly b830a7d837 Merge branch 'master' of github.com:sharelatex/sharelatex-docker-image 2018-02-06 10:26:50 +00:00
Shane Kilkelly 3c4866a710 Change launchpad location to github 2018-02-06 10:26:29 +00:00
Henry Oswald f18a0498a9 added trackChanges into features 2018-01-26 09:43:43 +00:00
Shane Kilkelly d5338b5719 Pin version of simple-git 2018-01-22 14:47:00 +00:00
Shane Kilkelly 16b5c5dd1a Chown the sharelatex directory to www-data 2018-01-08 16:21:18 +00:00
Shane Kilkelly 2761615440 Pin contacts to branch 'sk-update-mongojs' 2017-12-06 11:21:54 +00:00
Shane Kilkelly 51d59f20b0 move contacts run file 2017-12-05 09:48:05 +00:00
Shane KilkellyandGitHub 9cb19535bb Merge pull request #83 from sharelatex/sk-bypass-percentage-rollouts
add option to bypass percentage-based rollouts
2017-11-10 15:32:52 +00:00
Shane Kilkelly 16285366db add option to bypass percentage-based rollouts 2017-11-10 14:15:22 +00:00
Shane Kilkelly c7e8d29e09 Merge branch 'sk-unlisted-projects' 2017-11-10 14:13:17 +00:00
Shane KilkellyandGitHub a92c0fc1b4 Merge pull request #82 from d-Rickyy-b/FixTypo
Fix typo in error log filename
2017-10-23 15:48:09 +01:00
RicoandGitHub 041c73221a Fix typo in error log filename 2017-10-23 14:46:37 +02:00
Shane Kilkelly 410039534a Add setting to enable anonymous read-write sharing 2017-10-18 13:28:13 +01:00
Shane Kilkelly 1a9aab3516 Pin to latest base image 2017-09-08 09:09:42 +01:00
Shane KilkellyandGitHub cecf155465 Merge pull request #79 from sharelatex/sk-allow-explicit-ses-email-config
add the driver field to email config
2017-09-07 10:21:08 +01:00
Shane Kilkelly 7fd351a2be Add call to install-services 2017-09-06 11:16:12 +01:00