-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
237 additions
and
237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,14 @@ | ||
#!/bin/bash | ||
# This is the user data script to be executed on an EC2 instance. | ||
|
||
aws configure set default.region us-east-1 && \ | ||
aws configure set default.output json | ||
|
||
sudo apt update | ||
#sudo apt install apache2 certbot plocate unzip | ||
sudo apt install docker.io | ||
sudo apt install docker-compose-v2 | ||
|
||
# TODO: change this to pull a Docker image | ||
git clone https://github.com/lifemapper/bison.git | ||
|
||
cd bison | ||
sudo docker compose -f docker-compose.task.yml up -d | ||
#sudo docker compose -f docker-compose.development.yml -f docker-compose.yml up | ||
sudo docker compose -f compose.annotate_riis.yml up -d | ||
#sudo docker compose -f compose.development.yml -f compose.yml up | ||
# Executes from /home/bison directory, which contains bison code | ||
sudo docker exec bison-bison-1 venv/bin/python -m bison.tools.annotate_riis | ||
sudo docker exec bison-bison-1 venv/bin/python -m bison.task.annotate_riis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,4 @@ | |
] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,4 +24,4 @@ | |
"Action": "sts:AssumeRole" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.