Gernot Schulz b834b8bcb7 Merge pull request #29537 from overleaf/gs-jenkins-pr-build-tags-templates 9 月之前
..
.jenkinsIncludeFile 9b2fcbe960 [monorepo] optimize Jenkins build triggers for services (#28477) 10 月之前
.nvmrc 6190005f9b [monorepo] Upgrade to node 22.18.0 (#27977) 11 月之前
Jenkinsfile b834b8bcb7 Merge pull request #29537 from overleaf/gs-jenkins-pr-build-tags-templates 9 月之前
LICENSE 9c0dbbc5c8 Remove CoffeeScript 5 年之前
README.md 63520c7076 Merge pull request #16859 from overleaf/jpa-sharelatex-cleanup 2 年之前
Settings.js 7f48c67512 Add `prefer-node-protocol` ESLint rule (#21532) 1 年之前
buildscript.txt 15a6e8ba04 [monorepo] use content hash as docker image cache key (#29046) 10 月之前
index.js 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting 4 年之前
merge.js 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting 4 年之前
package.json 729e0f5ac9 move migrations to shared location (#28306) 10 月之前
tsconfig.json 423c2a47e5 Merge pull request #28482 from overleaf/ar-move-notifications-changes-into-buildscripts 10 月之前

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.