#### ####
# edge server
MAXPROCS=1

#### ####
# room server

#### ####
# pubsub server

#### ####
# clue server
PGHOST=master-sitedb.staging.sfo01.justin.tv
PGPORT=6543
PGDATABASE=tmi_justintv_dev
PGUSER=tmi_02
PGPASSFILE=~/.pgpass.tmi
ROOM_REDIS_HOSTPORT="localhost:6379"
ROOM_MAX_CONNS=10
ROOM_REDIS_SERVER_TIMEOUT=1000
REDIS_HOSTS="localhost:6379"
ALLOW_WRITES=true
NO_AUTH=1
RAILS_API_SERVER=localhost:4040
RAILS_API_SCHEME=http
DEPOT_API_BASE_URL=http://localhost:9900
GOCLUE_API_BASE_URL=http://localhost:6101
USHER_API_BASE_URL=http://usher.justin.tv

STATSD_HOST=localhost
STATSD_PREFIX=tmi

#If you want the full stack running on your dev box, I suggest these
#REDIS_HOST=localhost
#RAILS_API_SCHEME="http"
#RAILS_API_SERVER="localhost:3000"
# you'll likely also want 'ALLOW_WRITES=true'
# and maybe 'NO_AUTH=true' (but not in production!!)

# Foreman requires unbuffered STDOUT to log correctly
PYTHONUNBUFFERED=True

# If MAXPROCS is 1, the server does not fork, so force it to fork
# to match production environment
MAXPROCS=2

NO_AUTH=true

PUBSUB_EXCHANGES="localhost:6300,localhost:6301"
