This repository was archived by the owner on Sep 22, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 56
ENV File Reference
Kieran Sedgwick edited this page Dec 3, 2013
·
3 revisions
- Controls whether the login server sends new users a welcome email
- Pages loaded into a browser from the domains listed in this variable are allowed to communicate with the login server directly.
- A series of allowed basicauth credentials for accessing the
isAdminAPI. Additional user/pass combinations are deliniated with a comma.
- This variable must contain the full hostname of the login server as understood by a web browser in order for the Persona-based single-sign on functionality to work
- These variables contain your Amazon Web Services credentials, which are only required if ALLOW_SEND_WELCOME_EMAIL is set to
true.
- These variables create the database for use with the login server. They are enabled by default, and shouldn't be modified except for disabling them in favour of using the MySQL variables below.
- These variables create a database for use with the login server using an alternate technology called MySQL. They are disabled (commented out) by default, because using them requires the extra dependancy of MySQL instance. In most cases, the default values for these variables will be sufficient if you have a MySQL server running locally.
- For most situations, this variable shouldn't be modified. If the server is running in a production environment, and is operating behind a load-balancer using SSL, this should be set to
true.
- These variables configure Google Analytics scripts in the login server to report usage metrics.
- This must be set to the full
- This variable sets the default language code for a given language. It must be a language code found in the
SUPPORTED_LANGUAGESvariable. For more information, see the Dynamic Mappings section of the webmaker-i18n documentation
- This variable must contain the hostname including one set of basicauth details from the
ALLOWED_USERSvariable.
- This variable controls how server activity is logged, and will optimize performance for production if set to
production.
- The login server will be accessible through the port specified in this variable.
- This (hopefully humourous) phrase will be used to generate a session signature to secure the cookie the server relies on.
- These variables configure the server to send metrics data to a statsd server for tracking. If these are left empty, no stats will be collected or sent to a server. Only STATSD_HOST and STATSD_PORT are required. STATSD_PREFIX is an optional prefix for all stats (defaults to "development.login" or "production.login" if left blank).
- This variable is an array of all the languages that are currently supported for the login server, represented by language codes in the form lang-countryCode