Skip to content
This repository has been archived by the owner on Dec 5, 2017. It is now read-only.

Environment Variables

elimisteve edited this page Sep 25, 2012 · 3 revisions

Here is a list of environmental variables that are inspected by Skynet.

##Doozer ####SKYNET_DZHOST Where skylib will look for a doozer instance. This list is colon-separated; multiple doozerd instances can be specified. ######Example

SKYNET_DZHOST=localhost:8046

####SKYNET_DZNSHOST The host of a DZNS instance ######Example

SKYNET_DZNSHOST=localhost:8046

####SKYNET_DZDISCOVER Automatically discover new doozerd instances to connect to. ######Example

SKYNET_DZDISCOVER=true

##Services ####SKYNET_BIND_IP IP Address for skynet services to bind to ######Example

SKYNET_BIND_IP=127.0.0.1

####SKYNET_MIN_PORT The start of port range for skynet services to use ######Example

SKYNET_MIN_PORT=9000

####SKYNET_MAX_PORT The end of port range for skynet services to use ######Example

SKYNET_MAX_PORT=9999

####SKYNET_REGION The service's self-reported region. ######Example

SKYNET_REGION=unknown

##MongoDB ####SKYNET_MGOSERVER The address of mongodb for logging ######Example

SKYNET_MGOSERVER=localhost:27017

####SKYNET_MGODB The name of the logging mongo database ######Example

SKYNET_MGODB=log
Clone this wiki locally