Andrew Rumble 767591973c Merge pull request #23905 from overleaf/ar-mocha-11 il y a 1 an
..
test d227dfba0c Merge pull request #16393 from overleaf/em-typescript-libraries il y a 2 ans
.dockerignore 8945373715 Merge pull request #5724 from overleaf/jpa-lean-docker-build il y a 4 ans
.gitignore a797fb2be7 Merge pull request #14138 from overleaf/bg-em-jpa-mj-node-18 il y a 3 ans
.nvmrc 272108a213 Run `bin/update_node 20.18.0 20.18.2` (#23074) il y a 1 an
LICENSE 9c0dbbc5c8 Remove CoffeeScript il y a 5 ans
README.md 63520c7076 Merge pull request #16859 from overleaf/jpa-sharelatex-cleanup il y a 2 ans
Settings.js 7f48c67512 Add `prefer-node-protocol` ESLint rule (#21532) il y a 1 an
buildscript.txt 272108a213 Run `bin/update_node 20.18.0 20.18.2` (#23074) il y a 1 an
index.js 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting il y a 4 ans
merge.js 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting il y a 4 ans
package.json 767591973c Merge pull request #23905 from overleaf/ar-mocha-11 il y a 1 an
tsconfig.json e87df4a791 Merge pull request #18167 from overleaf/em-simpler-typescript-backend il y a 2 ans

README.md

@overleaf/settings

A small module to allow global config settings to be set for all services within the Overleaf architecture.

Settings file location

You can specify a custom location for the settings file by setting the OVERLEAF_CONFIG environment variable. E.g.

$ export OVERLEAF_CONFIG=/home/james/config/settings.development.js

Otherwise, the settings will be loaded from config/settings.NODE_ENV.js, where NODE_ENV is another environment variable, or defaults to development.

The config directory is first looked for in the current directory, and then relative to the settings module directory.