Email reporting of financial data
export email=''
export email_pw=''
# bare metal
export db_uri='postgres://[email protected]:5432/postgres'
# aws lambda
export aws_access_key_id=''
export aws_secret_access_key=''
minidock \
-i iris:dev -t iris:minicon --mode loose --apt \
-E bash -E aws -E jq -E cat -E mkdir -E date -E touch -E sed -E tr -E base64 -E sleep \
-E ls -E which -E env \
--include '/usr/local/resources/*' \
-E '/usr/local/deploy/bin/run-job' -E '/usr/local/src/iris' -E '/usr/local/src/athena' -E '/usr/local/src/util' \
-- /usr/local/deploy/bin/run-job && ./run-container