Commit Graph
838 Commits
Author SHA1 Message Date
Shane KilkellyandGitHub b433dffc69 Comment out the docker socket mount
And add a note for server-pro users to un-comment the line if they want to use sibling containers.
2020-02-20 15:09:00 +00:00
mserranom fa13f4f079 Updated dockerfile and build script with monorepo changes 2020-02-17 14:58:47 +01:00
mserranom ead0f21965 merged services.js 2020-02-17 14:00:29 +01:00
mserranom 1fe5394ca5 merged .gitignore 2020-02-17 13:58:48 +01:00
mserranom c3d0ba2aa6 merged README.md 2020-02-17 13:57:53 +01:00
mserranom 276281e7e4 moved files from docker-image imported repo to root 2020-02-17 13:56:49 +01:00
mserranom 5e19658866 Merging docker-image to master 2020-02-17 13:50:21 +01:00
Jakob AckermannandGitHub b715f16a3b [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 3170a27fb5 [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 ac82600b74 [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 991cb29d0b [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 6f46b2c145 [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 6dc57fafcc Fixed mailing list link in README 2020-02-10 12:08:54 +01:00
Miguel SerranoandGitHub 45561cde0e Removed node6 and updated modules to Node 10 (#135) 2020-02-06 11:19:15 +01:00
Jakob AckermannandGitHub 16ca8f25c4 [misc] narrow down the rw accessible directories for the run user (#119) 2020-01-29 12:14:32 +01:00
Miguel SerranoandGitHub 6a5f1588cc Set CRYPTO_RANDOM as environment variable at startup time (#134) 2020-01-28 07:16:23 +01:00
Jakob Ackermann 3783f03a83 [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 5232f07ec5 Removed compile:all from filestore and notifications services (#688) 2020-01-22 14:41:31 +01:00
Miguel SerranoandGitHub 2bc1dc464b Added missing recaptcha configuration (#132) 2020-01-21 12:37:40 +01:00
Miguel SerranoandGitHub 103941eab3 Updated location of synctex path in docker-compose.yml (#680) 2020-01-09 15:56:19 +01:00
Miguel SerranoandGitHub 4a424096f2 Added environment variables for web-api user/pass (#131) 2020-01-09 15:55:57 +01:00
Miguel SerranoandGitHub 9878a1321f Add environment variable to disable email confirmation banner (#676) 2020-01-08 10:03:59 +01:00
Miguel SerranoandGitHub c4104806c3 Hotfix 2.0.2 (#130) 2019-12-10 15:06:40 +01:00
theunboundandMiguel Serrano feda446983 Remove make targets in web (#670) 2019-12-09 18:02:52 +01:00
Shane KilkellyandGitHub 5e448fadda Update docker-compose.yml 2019-11-22 13:03:59 +00:00
Miguel SerranoandGitHub fc0c464216 Copy synctex executable to docker host (#129) 2019-11-22 10:12:33 +01:00
Miguel SerranoandGitHub 66fec536f5 Add SYNCTEX_BIN_HOST_PATH environment variable (#664) 2019-11-21 12:16:29 +01:00
Miguel SerranoandGitHub bfcba2a943 Remove overriden v1 settings (#128) 2019-11-21 11:52:02 +01:00
Shane KilkellyandGitHub c8ee9f2d4f Update ISSUE_TEMPLATE.md 2019-11-07 15:17:39 +00:00
Shane KilkellyandGitHub 853c658499 Create ISSUE_TEMPLATE.md 2019-11-07 09:30:55 +00:00
Miguel SerranoandGitHub 472581d714 Added webpack compilation scripts (#651) 2019-10-23 10:20:39 +02:00
Miguel SerranoandGitHub d29b3fa1f7 Overleaf CE Hotfix 2.0.1 (#126) 2019-10-21 11:48:01 +02:00
Miguel SerranoandGitHub 936f9f8142 Added explicit reference to Server Pro image in docker-compose (#649) 2019-10-18 15:41:28 +02:00
Miguel SerranoandGitHub 78d179c459 Fix token creation on admin registration (#648) 2019-10-18 10:03:05 +02:00
Miguel SerranoandGitHub 5159c9cc8b Disable project-history via settings (#125) 2019-10-15 11:00:38 +02:00
Miguel SerranoandGitHub 325c31d602 Linked CLSI synctext to /opts/synctex (#118) 2019-10-08 12:47:08 +02:00
Matthieu SimoninandMiguel Serrano de33a6a7b6 Fix the paths in grunt tasks (#643) 2019-10-08 12:46:53 +02:00
Miguel SerranoandGitHub fbd5e2a826 Delete aggregated error log (#117) 2019-10-08 11:54:49 +02:00
Shane Kilkelly 460d334d21 Copy logic from clsi entrypoint, to set permissions on docker.sock 2019-09-24 11:52:38 +01:00
Shane Kilkelly f52a5aba99 Add migration for token prefix 2019-09-20 13:20:44 +01:00
Miguel SerranoandGitHub e5fb7c1ad2 Fixed misspelling in migration script (#641) 2019-09-18 14:11:34 +02:00
Miguel SerranoandGitHub 436ba9cfb8 README beautification (#640) 2019-09-13 16:21:59 +02:00
Miguel SerranoandGitHub 0da28dd924 Added migration script for User.emails (#639) 2019-09-13 13:57:37 +02:00
Miguel SerranoandGitHub bff8cf75e5 Added mongo healthcheck to docker-compose (#636) 2019-09-11 14:07:26 +02:00
Miguel SerranoandGitHub 74ff4139ef Added ENABLE_CONVERSIONS environment variable (#635) 2019-09-11 13:08:02 +02:00
Miguel SerranoandGitHub 4889e528ec Added docker compose override file for debugging (#634) 2019-09-10 17:13:25 +02:00
Miguel SerranoandGitHub fad5639f55 Added debugging support to services (#113) 2019-09-10 17:13:17 +02:00
Miguel SerranoandGitHub e5dacbdc74 Updated docker-compose.yml with new and missing properties for ServerPro 2.0 (#632) 2019-09-06 10:47:14 +02:00
Miguel SerranoandGitHub 47eb3e4186 Override v1.url setting with "" instead of null (#112) 2019-09-06 10:37:03 +02:00
Miguel SerranoandGitHub d126eb7112 Updated settings with several fixes (#111) 2019-09-04 16:39:47 +02:00