fack
v4.9.0
Published
F4 web stack
Downloads
3,357
Keywords
Readme
Fack
F4 web stack with:
- express
- browserify
- jade
- stylus
- bootstrap
- font awesome 4.1 from https://github.com/raulghm/Font-Awesome-Stylus
- i18next
- bunyan
- optimist
- uglify
Environment Variables
ETCD_HOST
: used to indicate on which hosts to read ETCD. Use comma to indicate multiple hostsPORT
: on which port to start server (default to5000
)LOG_HOSTNAME
: used to override hostname, ends up exported, in unique process name, in logs and might be in sdc prefixDYNO
: mainly for dokku scaling, to identify "instance" (can also be provided asDYNO_TYPE_NUMBER
, for retro-compatibility)APP_INSTANCE_NAME
: used as a unique process name, that stays the same over successive deployments, and to identify app in logging, defaults toappname_hostname_dyno
STATSD_APPNAME
: used to identify app in statsd and graphite, defaults tostatsDPrefix.appname-dyno-workerName
wherestatsDPrefix
is either envSTATSD_PREFIX
or etcd/server/statsd/prefix
or hostname, and workerName comes from env varWORKER_NAME
WORKER_NAME
: to be used when server start "child" processes. It modifies logs field name, process title, statsd prefix and unique process name