Skip to content
elsmorian edited this page Oct 5, 2011 · 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.
Clone this wiki locally