github.com/slspeek/camlistore_namedsearch@v0.0.0-20140519202248-ed6f70f7721a/doc/environment-vars.txt (about)

     1  The standard library's strconv.ParseBool() is used to parse boolean environment
     2  variables.  It accepts 1, t, T, TRUE, true, True, 0, f, F, FALSE, false,
     3  False. Any other value is an implicit false.
     4  
     5  For integer values, strconv.Atoi() is used which means only base 10 numbers are
     6  valid.
     7  
     8  AWS_ACCESS_KEY_ID (string):
     9  AWS_ACCESS_KEY_SECRET (string):
    10    See http://docs.aws.amazon.com/fws/1.1/GettingStartedGuide/index.html?AWSCredentials.html
    11    Used in s3 tests.  If not set some tests are skip.  If set, queries will be
    12    sent to Amazon's S3 service.
    13  
    14  CAMLI_AUTH (string):
    15    See http://camlistore.org/docs/server-config
    16    Used as a fallback in pkg/client.Client (except on android) when
    17    configuration files lack and 'auth' entry.  If a client is using the -server
    18    commandline to specify the camlistore instance to talk to, this env var
    19    takes precedence over that specified in the configuration files.
    20  
    21  CAMLI_BASEURL (string):
    22    URL set in devcam to act as a baseURL in the devcam launched camlistored.
    23  
    24  CAMLI_CACHE_DIR (string):
    25    Path used by pkg/osutil to override operating system specific cache
    26    directory.
    27  
    28  CAMLI_CONFIG_DIR (string):
    29    Path used by pkg/osutil to override operating system specific configuration
    30    directory.
    31  
    32  CAMLI_DBNAME (string):
    33    Backend specific data source name (DSN).
    34    Set in devcam to pass database configuration for the indexer to the devcam
    35    launched camlistored.
    36  
    37  CAMLI_DEBUG (bool):
    38    Used by camlistored and camput to enable additional commandline options.
    39    Used in pkg/schema to enable additional logging.
    40  
    41  CAMLI_DEBUG_CONFIG (bool):
    42    Causes pkg/serverconfig to dump low-level configuration derived from
    43    high-level configuation on load.
    44  
    45  CAMLI_DEBUG_UPLOADS (bool):
    46    Used by pkg/client to enable additional logging.
    47  
    48  CAMLI_DEFAULT_SERVER (string):
    49    The server alias to use by default. The string is the server's alias key
    50    in the client-config.json "servers" object. If set, the CAMLI_DEFAULT_SERVER
    51    takes precedence over the "default" bool in client-config.json.
    52  
    53  CAMLI_DEV_CAMLI_ROOT (string):
    54    If set, the base directory of Camlistore when in dev mode.
    55    Used by pkg/server for finding static assests (js, css, html).
    56    Used as a signal by pkg/index/* and pkg/server to output more helpful error
    57    message when run under devcam.
    58  
    59  CAMLI_DEV_CLOSURE_DIR (string):
    60    Path override for pkg/server. If specified, this path will be used to serve
    61    the closure handler.
    62  
    63  CAMLI_HTTP_DEBUG (bool):
    64    Enable per-request logging in pkg/webserver.
    65  
    66  CAMLI_HTTP_EXPVAR (bool):
    67    Enable json export of expvars at /debug/vars
    68  
    69  CAMLI_HTTP_PPROF (bool):
    70    Enable standard library's pprof handler at /debug/pprof/
    71  
    72  CAMLI_IGNORED_FILES (string):
    73    Override client configuration option 'ignoredFiles'.
    74    Comma-seperated list of files to be ignored by pkg/client when uploading.
    75  
    76  CAMLI_INCLUDE_PATH (string):
    77    Path to search for files.
    78    Referenced in pkg/osutil and used indirectly by pkg/jsonconfig.ConfigParser
    79    to search for files mentioned in configurations.  This is used as a last
    80    resort after first checking the current directory and the camlistore config
    81    directory. It should be in the OS path form, i.e. unix-like systems would be
    82    /path/1:/path/two:/some/other/path, and Windows would be C:\path\one;D:\path\2
    83  
    84  CAMLI_KEYID (string):
    85    Optional GPG identity to use, taking precedence over config files.
    86    Used by devcam commands, in config/dev-server-config.json, and
    87    config/dev-client-dir/client-config.json as the public ID of the GPG
    88    key to use for signing.
    89  
    90  CAMLI_KV_VERIFY (bool):
    91    Enable all the VerifyDb* options in cznic/kv, to e.g. track down
    92    corruptions.
    93  
    94  CAMLI_MONGO_WIPE (bool):
    95    Wipe out mongo based index on startup.
    96  
    97  CAMLI_NO_FILE_DUP_SEARCH (bool):
    98    This will cause the search-for-exists-before-upload step to be skipped when
    99    camput is uploading files.
   100  
   101  CAMLI_PPROF_START (string):
   102    Filename base to write a "<base>.cpu" and "<base>.mem" profile out
   103    to during server start-up.  Used to profile index corpus scanning,
   104    mostly.
   105  
   106  CAMLI_QUIET (bool):
   107    Used by devcam to enable -verbose flag for camput/camget.
   108  
   109  CAMLI_FAST_DEV (bool):
   110    Used by dev/demo.sh for giving presentations with devcam server/put/etc
   111    for faster pre-built builds, without calling make.go.
   112  
   113  CAMLI_SECRET_RING (string):
   114    Path to the GPG secret keyring, which is otherwise set by identitySecretRing
   115    in the server config, and secretRing in the client config.
   116  
   117  CAMLI_DISABLE_CLIENT_CONFIG_FILE (bool):
   118    If set, the pkg/client code will never use the on-disk config file.
   119  
   120  CAMLI_TRACK_FS_STATS (bool):
   121    Enable operation counts for fuse filesystem.
   122  
   123  CAMLI_TRUSTED_CERT (string):
   124    Override client configuration option 'trustedCerts'.
   125    Comma-seperated list of paths to trusted certificate fingerprints.
   126  
   127  CAMPUT_ANDROID_OUTPUT (bool):
   128    Enable pkg/client status messages to print to stdout. Used in android client.
   129  
   130  CAMLI_DEBUG_IMAGES (bool):
   131    Enable extra debugging in pkg/images when decoding images.  Used by indexers.
   132  
   133  CAMLI_DISABLE_THUMB_CACHE (bool):
   134    If true, no thumbnail caching is done, and URLs even have cache
   135    buster components, to force browsers to reload a lot.
   136  
   137  CAMLI_VAR_DIR (string):
   138    Path used by pkg/osutil to override operating system specific application
   139    storage directory. Generally unused.
   140  
   141  CAMLI_S3_FAIL_PERCENT (int):
   142    Number from 0-100 of what percentage of the time to fail receiving blobs
   143    for the S3 handler.
   144  
   145  DEV_THROTTLE_KBPS (integer):
   146  DEV_THROTTLE_LATENCY_MS (integer):
   147    Rate limit and/or inject latency in pkg/webserver responses. A value of 0
   148    disables traffic-shaping.
   149  
   150  RUN_BROKEN_TESTS (bool:
   151    Run known-broken tests.