Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/higlass/higlass-docker
Builds a docker container wrapping higlass-server and higlass-client in nginx
https://github.com/higlass/higlass-docker
gehlenborglab hi-c higlass
Last synced: about 1 month ago
JSON representation
Builds a docker container wrapping higlass-server and higlass-client in nginx
- Host: GitHub
- URL: https://github.com/higlass/higlass-docker
- Owner: higlass
- License: mit
- Created: 2017-01-20T14:48:26.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-05-31T05:07:50.000Z (over 2 years ago)
- Last Synced: 2024-04-24T11:05:25.621Z (8 months ago)
- Topics: gehlenborglab, hi-c, higlass
- Language: Shell
- Size: 5.66 MB
- Stars: 29
- Watchers: 6
- Forks: 14
- Open Issues: 47
-
Metadata Files:
- Readme: README-DEPLOY.md
- License: LICENSE
Awesome Lists containing this project
README
# higlass-docker: Deployment
The following describes setup instructions for a linux machine running ubuntu.
Once you've connected, install docker as you would locally.
(For more help with these steps, see the
[Docker docs](https://docs.docker.com/engine/installation/linux/ubuntu/).)SSH in, and then get the file system tools Docker needs:
```
sudo apt-get update
sudo apt-get install -y curl \
linux-image-extra-$(uname -r) \
linux-image-extra-virtual
```
Add the Docker repo to apt-get:
```
sudo apt-get install apt-transport-https \
ca-certificates
curl -fsSL https://yum.dockerproject.org/gpg | sudo apt-key add -
# Verify the fingerprint:
apt-key finger | grep -A1 '5811 8E89 F3A9 1289 7C07 0ADB F762 2157 2C52 609D'
sudo add-apt-repository \
"deb https://apt.dockerproject.org/repo/ \
ubuntu-$(lsb_release -cs) \
main"
```
And install docker itself:
```
sudo apt-get update
sudo apt-get -y install docker-engine
```Finally, call our script to setup all the containers.
```
curl https://raw.githubusercontent.com/hms-dbmi/higlass-docker/master/start_production.sh | bash
```When you're done with the instance, clean up:
```
aws ec2 terminate-instances --instance-id $INSTANCE_ID
# Wait while instance terminates, and then
aws ec2 delete-security-group --group-id $GROUP_ID
aws ec2 delete-key-pair --key-name $KEY_NAME
rm ~/$KEY_NAME.pem
```