worker start command missing registration and emailer config. exported as env variables like other properties.

This commit is contained in:
Alex Edwards 2016-01-26 19:24:40 -08:00
parent 1bc004e5b3
commit 4741017055

View file

@ -69,6 +69,8 @@ EOF
export DEX_WORKER_DB_URL=$DEX_DB_URL export DEX_WORKER_DB_URL=$DEX_DB_URL
export DEX_WORKER_KEY_SECRETS=$DEX_KEY_SECRET export DEX_WORKER_KEY_SECRETS=$DEX_KEY_SECRET
export DEX_WORKER_LOG_DEBUG=1 export DEX_WORKER_LOG_DEBUG=1
export DEX_WORKER_EMAIL_CFG=static/fixtures/emailer.json.sample
export DEX_WORKER_ENABLE_REGISTRATION=true
./bin/dex-worker & ./bin/dex-worker &
echo "Waiting for worker to start..." echo "Waiting for worker to start..."
until $(curl --output /dev/null --silent --fail http://localhost:5556/health); do until $(curl --output /dev/null --silent --fail http://localhost:5556/health); do