Skip to content
kristjan edited this page Feb 10, 2012 · 4 revisions

Config.json, the JSON object that Locker uses to configure itself on startup offers a number of options:

  • "lockerHost" - String, The host on which locker is running

  • "lockerPort" - Int, The port number locker runs on

  • "externalHost" - String, The address at which locker will be accessible externally

  • "externalPort" - Int, The port which locker will accessible from externally

  • "externalSecure" - Boolean, Whether the external connection is secure (Using SSL)

  • "ui" - String, Which UI to use when running Locker

  • "logFile" - String, The name of the file for Locker to log to

  • "me" - String, The name of the directory used to store your information

  • "scannedDirs" - Array of String, Directories for Locker to scan for information on the possible Apps, Connections and Connections Locker can use

  • "mongo" - Object :

    • "dataDir" - String, directory in the me directory containing the mongo DB
    • "host" - String, host running the mongo DB service
    • "port" - Int, port that the mongo service is running on
  • "dashboard" - Object :

    • "customLogo" - String, Custom logo for Locker UI to use
    • "customTitle" - String, Title to use in the Locker UI
    • "customLogout" - String, URL to frontend proxy logout
    • "customHostedEndpoint" - String, URL to return customHostedEndpoint JSON object with information of currently logged on user.
    • "customLockerName" - String, What to call a "locker"
Clone this wiki locally