...
Code Block | ||||
---|---|---|---|---|
| ||||
# system setting export DOCKERIZED=true # if use AWS algorithm, then you must use a static IP address export LOCAL_ALGORITHM=true export HOST_IP=Your IP Address export HOME=Your Home Directory export BUCKET_NAME=macroscope-bae # create mounted volumes on host machine mkdir -p ${HOME}/bae_data mkdir -p ${HOME}/bae_data/${BUCKET_NAME} # you can comment out below if you do not need email notification # email notification # export EMAIL_HOST=Your email host # export EMAIL_PORT=465 # export EMAIL_FROM_ADDRESS=Your email from address # export EMAIL_PASSWORD=Your email host password # Please use random string access key and secret export AWS_ACCESSKEY=Random string export AWS_ACCESSKEYSECRET=Random string # Register an API on Twitter Developer console export TWITTER_CONSUMER_KEY=Twitter Consumer Key export TWITTER_CONSUMER_SECRET=Twitter Consumer Secret # Register a client on https://osome.iu.edu/tools export RAPIDAPI_KEY=your api key # start docker-compose -f docker-compose-bae.yml up # stop # docker-compose -f docker-compose-bae.yml down -v # update latest image from docker hub # docker-compose -f docker-compose-bae.yml pull |
...