Jakob Ackermann 15a6e8ba04 [monorepo] use content hash as docker image cache key (#29046) 10 mesi fa
..
.jenkinsIncludeFile 9b2fcbe960 [monorepo] optimize Jenkins build triggers for services (#28477) 10 mesi fa
.nvmrc 6190005f9b [monorepo] Upgrade to node 22.18.0 (#27977) 11 mesi fa
Jenkinsfile fd0d21fbbd [monorepo] migrate build scripts to Jenkins (#29019) 10 mesi fa
LICENSE 9c0dbbc5c8 Remove CoffeeScript 5 anni fa
README.md 63520c7076 Merge pull request #16859 from overleaf/jpa-sharelatex-cleanup 2 anni fa
Settings.js 7f48c67512 Add `prefer-node-protocol` ESLint rule (#21532) 1 anno fa
buildscript.txt 15a6e8ba04 [monorepo] use content hash as docker image cache key (#29046) 10 mesi fa
index.js 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting 4 anni fa
merge.js 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting 4 anni fa
package.json fd0d21fbbd [monorepo] migrate build scripts to Jenkins (#29019) 10 mesi fa
tsconfig.json 423c2a47e5 Merge pull request #28482 from overleaf/ar-move-notifications-changes-into-buildscripts 10 mesi fa

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.