Settings
A example of custom settings is settings.sample.json other special settings of individual plugins can be overridden always using this same file.
To see packages/plugin-name/plugin.js file in the settings section.
1 | meteor --settings private/settings.sample.json |
Environment variables
Alternatively use the build.sh script.
The following environment variables are required:1
2
3
4
5
6MONGO_URL="mongodb://localhost:27017/<DBNAME>"
MAIL_URL="smtp://localhost:25"
METEOR_SETTINGS=$(cat settings.json)
ROOT_URL="https://<APPDOMAIN>"
BIND_IP=<IPADDRESS>
PORT=<PORT>