-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathlaunch-galaxy.sh
executable file
·31 lines (25 loc) · 1.04 KB
/
launch-galaxy.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
sudo cp /etc/slurm-llnl/slurm.conf /pool/data/export/
sudo cp /etc/munge/munge.key /pool/data/export/
docker run -d \
--name=galaxy \
--restart=on-failure \
-v /pool/data/export/:/export/ \
-v /pool/data/globus/:/globus/ \
-v /pool/data/galaxy_venv/:/galaxy_venv/ \
-p 80:80 \
-p 8021:21 \
-p 8022:22 \
-p 443:443 \
-p 8800:8800 \
-p 9002:9002 \
-e "NONUSE=slurmd,slurmctld" \
-e "USE_HTTPS_LETSENCRYPT=True" \
-e "GALAXY_CONFIG_GALAXY_INFRASTRUCTURE_URL=answer.csbi.mit.edu" \
-e "galaxy_extras_config_condor=False" \
-e "galaxy_extras_config_condor_docker=False" \
quay.io/fraenkel_lab/galaxy-neurolincs:latest
# for testing (and to keep data from persisting) this command is sufficient:
# docker run -d -p 80:80 -p 9002:9002 quay.io/fraenkel_lab/galaxy-neurolincs:latest
# for testing with globus integration:
# docker run -d -p 80:80 -p 21:21 -p 8800:8800 -p 9002:9002 -p 2811:2811 -p 2223:2223 -p 7512:7512 -p 50000-51000:50000-51000 quay.io/fraenkel_lab/galaxy-neurolincs