Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
1b52812
Redirect non-existing links to Overleaf page
Dec 3, 2024
60989f8
Enable track changes and comments feature
Dec 3, 2024
b68d129
Enable autocomplete of reference keys feature
Jan 28, 2026
2d1d946
Enable Sandboxed Compiles feature
svdvonde Dec 4, 2024
c8a5246
Allow selecting a TeX Live image for a project
Dec 6, 2024
275984f
Enable Symbol Palette
Dec 11, 2024
01f802e
Enable LDAP and SAML authentication support
Dec 3, 2024
53f8fd9
Allow adding extra flags to LaTeX compiler through environment variable
Jan 20, 2025
8a3b88f
Refactor authentication code; add OIDC support
Dec 17, 2024
cfab2e7
Re-export `doLogout` (was removed from exports in commit b9fb636).
Jan 27, 2025
eec6b59
Add ENV variables to control SAML signature validation
Feb 6, 2025
7403225
Whitelist /oidc/login endpoint, fixes #21
Feb 22, 2025
84820c2
Fix glitches in symbol palette after switching to Bootstrap 5
Mar 8, 2025
26221c5
See upstream commit 42ee56e
Mar 10, 2025
4b502a5
Make OVERLEAF_OIDC_USER_ID_FIELD support 'email' as a value
Mar 10, 2025
96137da
Symbol palette: switch to 'OL' UI components and apply minor cosmetic…
Apr 3, 2025
03bc6b4
Allow EXTERNAL_AUTH to be undefined, fixes #26
Apr 4, 2025
a66438d
Track changes / comments: update backend to support frontend changes
Apr 8, 2025
93734a6
Add Template Gallery support
May 2, 2025
891ff65
Make Template Gallery optional; rename environment variables
May 2, 2025
202278c
Add 'poll' to clsi seccomp profile, fixes minted. Thanks, David.
May 3, 2025
ee612c3
Symbol Palette: get rid of @reach/tabs
May 4, 2025
33fca26
Symbol Palette: improve keyboard input experience
May 5, 2025
93c9aff
Refactor Sandboxed Compiles
May 13, 2025
f1674d7
Refactor Template Gallery; resolves #38 and #39
May 12, 2025
878f0c8
Template Gallery: replace markdown-it with marked
May 16, 2025
94b8193
Symbol Palette: make close button visible
May 19, 2025
4cb0dfa
Fix login page
May 23, 2025
448609c
Avoid DEP0174 by removing async from callback-based getGroupPolicyFor…
Jun 16, 2025
44252ba
I need the --network=host settings for building the container
davrot Jun 19, 2025
b7fcf1d
Introduce an environment variable to control user creation in OIDC au…
Jun 23, 2025
b704624
Introduce an environment variable to allow JIT OIDC users creation ba…
Shadowxp13 Jul 21, 2025
74d8b00
Remove OVERLEAF_OIDC_DISABLE_JIT_ACCOUNT_CREATION in favor of OVERLEA…
Jul 22, 2025
69273de
Track changes: use getTrackedChangesUserIds introduced in the mainstream
Jun 12, 2025
c997f52
Track changes: convert to `mjs`
Jul 3, 2025
98739e4
Set `use-ai` capability to false
Jul 16, 2025
edefc3a
`toggleSymbolPalette` now in `useEditorPropertiesContext`
Jul 17, 2025
952fc83
Remove LDAP admin check via group search in ldap-passport
Jul 21, 2025
2eeeea2
Fix template publishing to align with upstream project context changes
Jul 22, 2025
602bad5
Fix: always include repository prefix in sandboxed compiles image name
Jul 22, 2025
30f6430
`passport-saml` was updated to `v5.1.0`
Aug 3, 2025
c6d2dbe
Template gallery: ui components were moved to shared folder
Aug 12, 2025
61b5bf1
Move Sympol Palette code to modules, closes #63
Jul 25, 2025
d70141c
Symbol palette: ui components were moved to shared folder
Aug 12, 2025
e0aaaab
Bring back `deleteFile` removed upstream
Sep 14, 2025
2e56791
Fix import after upstream converted `ErrorController` to ESM
Sep 15, 2025
5af787d
Fix imports after upstream converted `UserController` and `CaptchaMid…
Sep 15, 2025
c94cb89
Rename @node-saml/node-saml patch for v5.1.0
Sep 15, 2025
d3c88be
Track changes: Use `getProjectRanges` introduced in the upstream
Sep 17, 2025
6cbc386
Fix import after upstream converted `AuthorizationMiddleware` to ESM
Sep 17, 2025
5a0fd30
Fix: comments thread does not necessarily belong to current document
Sep 22, 2025
8ffd4f8
Fix style of Templates button in navbar
Sep 23, 2025
a0bce06
Add MAX_UPLOAD_SIZE environment variable
rercek Oct 16, 2025
55f75d1
Track changes: Fix import after upstream converted `ChatManager`, `Us…
Oct 21, 2025
36007d1
Authentication: Fix import after upstream converted `PermissionsManag…
Oct 21, 2025
01ee404
Template gallery: Fix `OLModal` usage (see upstream commit 19b3834)
Oct 22, 2025
c9eed49
Template gallery: Fix import after upstream converted `CompileManager…
Oct 22, 2025
2b178cc
Template gallery: Fix import after upstream converted `Authentication…
Nov 2, 2025
5ba762e
Authentication: Fix import after upstream converted `AuthenticationCo…
Nov 2, 2025
17c88fd
Track changes: Fix import after upstream converted `DocumentUpdaterHa…
Nov 2, 2025
36aeb79
Sandboxed compiles: adjust `clsi-profile`
Nov 11, 2025
92a5184
Add service for Linked URL feature
Nov 11, 2025
a181626
README for extended CE
Nov 12, 2025
eedba0c
Linked URL: add sanitize and normalize
Jan 28, 2026
c2f110a
Hotfix 5.5.6-ext-3.3
Dec 1, 2025
e70a8bb
Admin Tools: Manage users and Manage projects pages
Jan 26, 2026
97ca02a
Admin Tools: Fix user name
Jan 27, 2026
b167f58
Unlock overalltheme switching
Musicminion Dec 25, 2025
3c240fd
Add support for EMAIL_SMTP_PASS_FILE
warthan07 Jan 12, 2026
d6ad683
Admin Tools: Fix for 6.1.0 migraton
Jan 26, 2026
e810924
Authentication: Fix import after upstream converted some files to ESM
Jan 29, 2026
8b21056
Track changes: Fix import after upstream converted several files to ESM
Jan 26, 2026
98050f1
Symbol Palette: fix for 6.1.0
Jan 27, 2026
e362186
Template Gallery: migration to 6.1.0
Feb 2, 2026
5d7b91b
Admin Tools: Fix sorting
Jan 29, 2026
d8a7447
Admin Tools: Fix EXTERNAL_AUTH is 'none'
Feb 2, 2026
356090d
Sandboxed Compiles: support configurable texlive image root via env var
Feb 2, 2026
893d1f1
Sandboxed compiles: add arm64 support to clsi seccomp profile
Feb 2, 2026
104809a
Admin tools: fix minor bugs
Feb 3, 2026
ad48193
Sandboxed Compiles: pass imageName in Copy project
Feb 3, 2026
f4e824e
Update README.md
Feb 3, 2026
ae56794
Admin tools: optimize user/project list performance
Feb 10, 2026
a60dc2b
Template gallery: add template management authorization middleware
Feb 26, 2026
8451197
Linked URL: prevent SSRF via DNS rebinding; minor fixes
Feb 26, 2026
1365434
Authentication: update passport-ldapauth to 3.0.1; fix minor issues
Feb 26, 2026
05e28b2
Sandboxed compiles: set imageName to default if undefined in project
Feb 28, 2026
566d07e
Git Bridge: Add git integration
Mar 14, 2026
10ccb73
Admin tools: minor improvements
Mar 13, 2026
f6da65e
Add env variable to enable restoring project/file from history snapshot
Mar 14, 2026
598c3bd
Sandboxed compiles: add scripts to add/strip repo prefix from texlive…
Mar 14, 2026
28c70cb
Update README.md
Mar 14, 2026
d32026d
Sandboxed compiles: convert DockerRunner to ESM
Mar 16, 2026
a8652e1
Authentication: fix uid ldap login after email parsing was added to r…
Mar 15, 2026
067d990
Git Bridge: integrations-panel code was moved
Mar 15, 2026
b4fac16
Linked URL: bump node to 24.13.0
Mar 15, 2026
9580428
References: bump node to 24.13.0
Mar 15, 2026
90e61fc
Git Bridge: support git-bridge configuration via env in nginx
IamTaoChen Mar 17, 2026
7e77eed
Admin tools: themed dashboard
Mar 19, 2026
aac7106
Sandboxed compiles: avoid destroying containers of recently accessed …
Mar 20, 2026
0765e6b
Git Bridge: route PAT validation endpoint to correct router
Mar 20, 2026
de7ca9c
Admin tools: introduce Activ Projects tab on the Manage Site page
davrot Mar 25, 2026
5fdb45c
Git Bridge: fix incorrect token creation date display
Mar 26, 2026
f0f2dc7
Logo Tools (#158)
davrot Mar 28, 2026
9dbcd78
Zotero Integration (#164)
davrot Apr 1, 2026
68581af
Authentication: fix ldap searchAttributes for passport-ldapauth 3.0.1
Apr 1, 2026
710be9b
Initial files
davrot Apr 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 2 additions & 6 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,8 @@ assignees: ''

<!--
Note: If you are using www.overleaf.com and have a problem,
or if you would like to request a new feature please contact
the support team at support@overleaf.com
This form should only be used to report bugs in the
Community Edition release of Overleaf.
Note: This form should only be used to report bugs in the
Extended CE release of Overleaf.
-->

Expand Down
4 changes: 0 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,3 @@
## Related issues / Pull Requests

<!-- Fixes #xyz, Contributes to #xyz, Related to #xyz-->

## Contributor Agreement

- [ ] I confirm I have signed the [Contributor License Agreement](https://github.com/overleaf/overleaf/blob/main/CONTRIBUTING.md#contributor-license-agreement)
21 changes: 6 additions & 15 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,29 @@
# Contributing to Overleaf
# Contributing to Overleaf CE+

Thank you for reading this! If you'd like to report a bug or join in the development
of Overleaf, then here are some notes on how to do that.
of Overleaf CE+, then here are some notes on how to do that.

## Reporting bugs and opening issues

If you'd like to report a bug or open an issue, please **[check if there is an existing issue](https://github.com/overleaf/overleaf/issues).**
If you'd like to report a bug or open an issue, please **[check if there is an existing issue](https://github.com/yu-i-i/overleaf-cep).**
If there is then please add any more information that you have, or give it a 👍.

When submitting an issue please describe the issue as clearly as possible, including how to
reproduce the bug, which situations it appears in, what you expected to happen, and what actually happens.
If you can include a screenshot for front end issues that is very helpful.

**Note**: If you are using [www.overleaf.com](www.overleaf.com) and have a problem, or if you would like to request a new feature, please contact the Support team at support@overleaf.com. Raise an issue here only to report bugs in the Community Edition release of Overleaf.

## Pull Requests

See [our wiki](https://github.com/overleaf/overleaf/wiki)
See [Overleaf wiki](https://github.com/overleaf/overleaf/wiki)
for how to manage the Overleaf development environment and for our developer guidelines.

We love pull requests, so be bold with them! Don't be afraid of going ahead
and changing something, or adding a new feature. We're very happy to work with you
to get your changes merged into Overleaf.

If you're looking for something to work on, have a look at the [open issues](https://github.com/overleaf/overleaf/issues).
If you're looking for something to work on, have a look at the [open issues](https://github.com/yu-i-i/overleaf-cep/issues).

## Security

Please see [our security policy](https://github.com/overleaf/overleaf/security/policy) if you would like to report a potential security vulnerability.

## Contributor License Agreement

Before we can accept any contributions of code, we need you to agree to our
[Contributor License Agreement](https://docs.google.com/forms/d/e/1FAIpQLSef79XH3mb7yIiMzZw-yALEegS-wyFetvjTiNBfZvf_IHD2KA/viewform?usp=sf_link).
This is to ensure that you own the copyright of your contribution, and that you
agree to give us a license to use it in both the open source version, and the version
of Overleaf running at www.overleaf.com, which may have additional changes.
Please see [Overleaf security policy](https://github.com/overleaf/overleaf/security/policy) if you would like to report a potential security vulnerability.
70 changes: 70 additions & 0 deletions CREDITS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# CREDITS

This project includes ideas and adapted code from several open-source projects.\
In most cases the original code has been modified, optimized, or extended.

## Symbol palette

The symbol palette feature is based on the original Overleaf implementation:

https://github.com/overleaf/web/tree/master/frontend/js/features/symbol-palette

The original code was slightly improved, particularly in the parts related to keyboard input.

## LDAP authentication

LDAP authentication was inspired by:

https://github.com/smhaller/ldap-overleaf-sl

The project provided the idea and part of the implementation for adding LDAP users to the user's contacts.

## Autocomplete of reference keys

Autocomplete of reference keys is based on:

https://github.com/lcpu-club/overleaf

The implementation largely follows the referenced code, except that a different `.bib` file parser is used.

## Real-time track changes and comments

The Track Changes and Comments feature exists largely in the original Overleaf codebase.\
The missing parts were implemented based on:

https://github.com/ertuil/overleaf

The referenced code was fixed, optimized, and extended.

## Sandboxed compiles

The Sandboxed Compiles feature was until recently largely present in the original Overleaf codebase.\
The missing parts were implemented in this project.

## Import file from external URL

The "From External URL" feature exists in the original Overleaf code.\
The missing proxy component was implemented in this project.

## Git integration

Git integration is based on:

https://github.com/ayaka-notes/overleaf-pro/tree/feat-git-bridge

The backend was completely rewritten.\
The frontend uses the referenced code, which was optimized and improved.

## Original Features

The following features are original work implemented in this project:

- Template Gallery
- Advanced administrator tools for managing user accounts and projects
- SAML authentication
- OpenID Connect authentication

## Acknowledgments

Thanks to the users of the project for valuable feedback, suggestions,
and help in identifying and fixing bugs.
70 changes: 39 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,75 +6,83 @@
<h4 align="center">An open-source online real-time collaborative LaTeX editor.</h4>

<p align="center">
<a href="https://github.com/overleaf/overleaf/wiki">Wiki</a> •
<a href="https://github.com/yu-i-i/overleaf-cep/wiki">Wiki</a> •
<a href="https://www.overleaf.com/for/enterprises">Server Pro</a> •
<a href="#contributing">Contributing</a> •
<a href="https://mailchi.mp/overleaf.com/community-edition-and-server-pro">Mailing List</a> •
<a href="#authors">Authors</a> •
<a href="#license">License</a>
</p>

<img src="doc/screenshot.png" alt="A screenshot of a project being edited in Overleaf Community Edition">
<img src="doc/screenshot.png" alt="A screenshot of a project being edited in Overleaf Extended Community Edition">
<p align="center">
Figure 1: A screenshot of a project being edited in Overleaf Community Edition.
Figure 1: A screenshot of a project being edited in Overleaf Extended Community Edition.
</p>

## Community Edition

[Overleaf](https://www.overleaf.com) is an open-source online real-time collaborative LaTeX editor. We run a hosted version at [www.overleaf.com](https://www.overleaf.com), but you can also run your own local version, and contribute to the development of Overleaf.
[Overleaf](https://www.overleaf.com) is an open-source online real-time collaborative LaTeX editor. Overleaf runs a hosted version at [www.overleaf.com](https://www.overleaf.com), but you can also run your own local version, and contribute to the development of Overleaf.

> [!CAUTION]
> Overleaf Community Edition is intended for use in environments where **all** users are trusted. Community Edition is **not** appropriate for scenarios where isolation of users is required due to Sandbox Compiles not being available. When not using Sandboxed Compiles, users have full read and write access to the `sharelatex` container resources (filesystem, network, environment variables) when running LaTeX compiles.

For more information on Sandbox Compiles check out our [documentation](https://docs.overleaf.com/on-premises/configuration/overleaf-toolkit/server-pro-only-configuration/sandboxed-compiles).
## Extended Community Edition (CE+)

## Enterprise
The present "extended" version of Overleaf CE includes:

If you want help installing and maintaining Overleaf in your lab or workplace, we offer an officially supported version called [Overleaf Server Pro](https://www.overleaf.com/for/enterprises). It also includes more features for security (SSO with LDAP or SAML), administration and collaboration (e.g. tracked changes). [Find out more!](https://www.overleaf.com/for/enterprises)
- Template gallery
- Sandboxed compiles with TeX Live image selection
- LDAP authentication
- SAML authentication
- OpenID Connect authentication
- Real-time track changes and comments
- Autocomplete of reference keys
- Symbol palette
- Import file from external URL
- Advanced administrator tools for managing user accounts and projects
- Git integration

## Keeping up to date
> [!CAUTION]
> Overleaf Community Edition is intended for use in environments where **all** users are trusted. Community Edition is **not** appropriate for scenarios where isolation of users is required due to Sandbox Compiles not being available. When not using Sandboxed Compiles, users have full read and write access to the `sharelatex` container resources (filesystem, network, environment variables) when running LaTeX compiles.
Therefore, in any environment where not all users can be fully trusted, it is strongly recommended to enable the Sandboxed Compiles feature available in the Extended Community Edition.

Sign up to the [mailing list](https://mailchi.mp/overleaf.com/community-edition-and-server-pro) to get updates on Overleaf releases and development.
For more information on Sandbox Compiles check out Overleaf [documentation](https://docs.overleaf.com/on-premises/configuration/overleaf-toolkit/server-pro-only-configuration/sandboxed-compiles).

## Installation
## Enterprise

We have detailed installation instructions in the [Overleaf Toolkit](https://github.com/overleaf/toolkit/).
If you want help installing and maintaining Overleaf in your lab or workplace, Overleaf offers an officially supported version called [Overleaf Server Pro](https://www.overleaf.com/for/enterprises).

## Upgrading
## Installation

If you are upgrading from a previous version of Overleaf, please see the [Release Notes section on the Wiki](https://github.com/overleaf/overleaf/wiki#release-notes) for all of the versions between your current version and the version you are upgrading to.
Detailed installation instructions can be found in the [Overleaf Toolkit](https://github.com/overleaf/toolkit/).
Configuration details and release history for the Extended Community Edition can be found on the [Extended CE Wiki Page](https://github.com/yu-i-i/overleaf-cep/wiki).

## Overleaf Docker Image

This repo contains two dockerfiles, [`Dockerfile-base`](server-ce/Dockerfile-base), which builds the
`sharelatex/sharelatex-base` image, and [`Dockerfile`](server-ce/Dockerfile) which builds the
`sharelatex/sharelatex` (or "community") image.
`sharelatex/sharelatex-base:ext-ce` image, and [`Dockerfile`](server-ce/Dockerfile) which builds the
`sharelatex/sharelatex:ext-ce` image.

The Base image generally contains the basic dependencies like `wget`, plus `texlive`.
We split this out because it's a pretty heavy set of
This is split out because it's a pretty heavy set of
dependencies, and it's nice to not have to rebuild all of that every time.

The `sharelatex/sharelatex` image extends the base image and adds the actual Overleaf code
and services.

Use `make build-base` and `make build-community` from `server-ce/` to build these images.

We use the [Phusion base-image](https://github.com/phusion/baseimage-docker)
(which is extended by our `base` image) to provide us with a VM-like container
The [Phusion base-image](https://github.com/phusion/baseimage-docker)
(which is extended by the `base` image) provides a VM-like container
in which to run the Overleaf services. Baseimage uses the `runit` service
manager to manage services, and we add our init-scripts from the `server-ce/runit`
folder.

## Contributing

Please see the [CONTRIBUTING](CONTRIBUTING.md) file for information on contributing to the development of Overleaf.
manager to manage services, and init scripts from the `server-ce/runit`
folder are added.

## Authors

[The Overleaf Team](https://www.overleaf.com/about)
[The Overleaf Team](https://www.overleaf.com/about)\
[yu-i-i](https://github.com/yu-i-i/overleaf-cep) — CE extensions; references to adapted code are listed in [`CREDITS`](CREDITS.md)

## License

The code in this repository is released under the GNU AFFERO GENERAL PUBLIC LICENSE, version 3. A copy can be found in the [`LICENSE`](LICENSE) file.

Copyright (c) Overleaf, 2014-2025.
Copyright (c) Overleaf, 2014-2026.\
Copyright (c) yu-i-i, 2024-2026, for CE extensions.

Portions of the code are derived from other open-source projects; see [`CREDITS`](CREDITS.md).
2 changes: 2 additions & 0 deletions develop/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,10 @@ each service:
| `filestore` | 9235 |
| `notifications` | 9236 |
| `real-time` | 9237 |
| `references` | 9238 |
| `history-v1` | 9239 |
| `project-history` | 9240 |
| `linked-url-proxy` | 9241 |

To attach to a service using Chrome's _remote debugging_, go to
<chrome://inspect/> and make sure _Discover network targets_ is checked. Next
Expand Down
2 changes: 2 additions & 0 deletions develop/dev.env
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ FILESTORE_HOST=filestore
GRACEFUL_SHUTDOWN_DELAY_SECONDS=0
HISTORY_V1_HOST=history-v1
HISTORY_REDIS_HOST=redis
LINKED_URL_PROXY_HOST=linked-url-proxy
LISTEN_ADDRESS=0.0.0.0
MONGO_HOST=mongo
MONGO_URL=mongodb://mongo/sharelatex?directConnection=true
Expand All @@ -17,6 +18,7 @@ QUEUES_REDIS_HOST=redis
DSMP_REDIS_HOST=redis
REALTIME_HOST=real-time
REDIS_HOST=redis
REFERENCES_HOST=references
SESSION_SECRET=foo
V1_HISTORY_HOST=history-v1
WEBPACK_HOST=webpack
Expand Down
22 changes: 22 additions & 0 deletions develop/docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,17 @@ services:
- ../services/history-v1/knexfile.js:/overleaf/services/history-v1/knexfile.js
- ../services/history-v1/migrations:/overleaf/services/history-v1/migrations

linked-url-proxy:
command: ["node", "--watch", "app.mjs"]
environment:
- NODE_OPTIONS=--inspect=0.0.0.0:9229
ports:
- "127.0.0.1:9241:9229"
volumes:
- ../services/linked-url-proxy/app:/overleaf/services/linked-url-proxy/app
- ../services/linked-url-proxy/config:/overleaf/services/linked-url-proxy/config
- ../services/linked-url-proxy/app.mjs:/overleaf/services/linked-url-proxy/app.mjs

notifications:
command: ["node", "--watch", "app.ts"]
environment:
Expand Down Expand Up @@ -112,6 +123,17 @@ services:
- ../services/real-time/app.js:/overleaf/services/real-time/app.js
- ../services/real-time/config:/overleaf/services/real-time/config

references:
command: ["node", "--watch", "app.js"]
environment:
- NODE_OPTIONS=--inspect=0.0.0.0:9229
ports:
- "127.0.0.1:9238:9229"
volumes:
- ../services/references/app:/overleaf/services/references/app
- ../services/references/config:/overleaf/services/references/config
- ../services/references/app.js:/overleaf/services/references/app.js

web:
command: ["node", "--watch", "app.mjs", "--watch-locales"]
environment:
Expand Down
33 changes: 32 additions & 1 deletion develop/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,13 @@ services:
volumes:
- history-v1-buckets:/buckets

linked-url-proxy:
build:
context: ..
dockerfile: services/linked-url-proxy/Dockerfile
env_file:
- dev.env

mongo:
image: mongo:8
command: --replSet overleaf
Expand Down Expand Up @@ -139,6 +146,13 @@ services:
volumes:
- redis-data:/data

references:
build:
context: ..
dockerfile: services/references/Dockerfile
env_file:
- dev.env

web:
build:
context: ..
Expand All @@ -148,7 +162,7 @@ services:
- dev.env
environment:
- APP_NAME=Overleaf Community Edition
- ENABLED_LINKED_FILE_TYPES=project_file,project_output_file
- ENABLED_LINKED_FILE_TYPES=project_file,project_output_file,zotero
- EMAIL_CONFIRMATION_DISABLED=true
- NODE_ENV=development
- OVERLEAF_ALLOW_PUBLIC_ACCESS=true
Expand All @@ -166,9 +180,11 @@ services:
- document-updater
- filestore
- history-v1
- linked-url-proxy
- notifications
- project-history
- real-time
- references

webpack:
build:
Expand All @@ -181,3 +197,18 @@ services:
- "127.0.0.1:80:3808"
volumes:
- ./webpack.config.dev-env.js:/overleaf/services/web/webpack.config.dev-env.js

git-bridge:
image: quay.io/sharelatex/git-bridge:latest
expose:
- "8000"
ports:
- "8000:8000"
environment:
GIT_BRIDGE_API_BASE_URL: "http://web:3000/api/v0"
GIT_BRIDGE_OAUTH2_SERVER: "http://web:3000"
GIT_BRIDGE_POSTBACK_BASE_URL: "http://git-bridge:8000"
GIT_BRIDGE_ROOT_DIR: "/data/git-bridge"
LOG_LEVEL: "DEBUG"
volumes:
- ./data/git-bridge:/data/git-bridge
5 changes: 5 additions & 0 deletions develop/webpack.config.dev-env.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ module.exports = merge(base, {
target: 'http://real-time:3026',
ws: true,
},
{
context: '/git/**',
target: 'http://git-bridge:8000',
pathRewrite: { '^/git': '' }
},
{
context: ['!**/*.js', '!**/*.css', '!**/*.json'],
target: 'http://web:3000',
Expand Down
Binary file modified doc/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading