Skip to content

Files

Latest commit

f5865df · Feb 26, 2024

History

History

hortacloud-deployment

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Feb 26, 2024
Jan 19, 2024

hortacloud-deployment

Dockerfile to build an image for deployment of hortacloud

Usage

Refer to hortacloud deployment instructions for detailed steps

Container setup

  • Run docker pull ghcr.io/allenneuraldynamics/hortacloud-deployment:latest hortacloud to pull the docker image.
  • Run docker run -it hortacloud bash to run a container interactively.

Horta deployment

  • From your local machine, generate temporary aws credentials by running aws sts -get-session-token. Note the AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_SESSION_TOKEN values from the output.
  • Set up AWS credentials environment variables using the values from the the previous step.
  • Run `git clone https://github.com/JaneliaSciComp/hortacloud/.
  • In the cloned hortacloud folder, create/copy the .env file that contains all the required environment variables. If the .env variable is stored in a bucket, you can run aws s3 cp s3://BUCKET_NAME/.env .env to download it.
  • Follow the hortacloud deployment instructions for the remaining steps.