Skip to content

Commit a940d5e

Browse files
committed
Merge pull request #61 from bgruening/dev-1510
New release for Galaxy 15.10
2 parents ebb9854 + d149273 commit a940d5e

File tree

5 files changed

+11
-17
lines changed

5 files changed

+11
-17
lines changed

Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,11 @@ RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9 && \
1616
libfreetype6-dev libpng-dev net-tools procps r-base libreadline-dev && \
1717
pip install distribute --upgrade && \
1818
pip install pyzmq ipython==2.4 jinja2 tornado pygments numpy biopython scikit-learn pandas \
19-
scipy sklearn-pandas bioblend matplotlib patsy pysam khmer ggplot mpld3 sympy rpy2 && \
19+
scipy sklearn-pandas bioblend matplotlib patsy pysam khmer ggplot mpld3 sympy rpy2 dask pyvcf && \
2020
apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
2121

2222
ADD ./startup.sh /startup.sh
23-
RUN chmod +x /startup.sh
24-
2523
ADD ./monitor_traffic.sh /monitor_traffic.sh
26-
RUN chmod +x /monitor_traffic.sh
2724

2825
# /import will be the universal mount-point for IPython
2926
# The Galaxy instance can copy in data that needs to be present to the IPython webserver

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,14 @@ Some environment variables are made available to the user which will allow for c
3939

4040
Variable | Use
4141
------------------- | ---
42-
`GALAXY_WEB_PORT` | Port on which Galaxy is running, if applicable
43-
`NOTEBOOK_PASSWORD` | Password with which to secure the notebook
44-
`CORS_ORIGIN` | If the notebook is proxied, this is the URL the end-user will see when trying to access a notebook
45-
`DOCKER_PORT` | Used in Galaxy Interactive Environments to ensure that proxy routes are unique and accessible
4642
`API_KEY` | Galaxy API Key with which to interface with Galaxy
47-
`HISTORY_ID` | ID of current Galaxy History, used in easing the dataset upload/download process
48-
`REMOTE_HOST` | Unused
49-
`GALAXY_URL` | URL at which Galaxy is accessible
43+
`CORS_ORIGIN` | If the notebook is proxied, this is the URL the end-user will see when trying to access a notebook
5044
`DEBUG` | Enable debugging mode, mostly for developers
45+
`GALAXY_URL` | URL at which Galaxy is accessible
46+
`GALAXY_WEB_PORT` | Port on which Galaxy is running, if applicable
47+
`HISTORY_ID` | ID of current Galaxy History, used in easing the dataset upload/download process
48+
`NOTEBOOK_PASSWORD` | Password with which to secure the notebook
49+
`PROXY_PREFIX` | Prefix to URL which allows Galaxy proxy to share cookies with Galaxy itself.
5150

5251

5352
Authors

ipython_notebook_config.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,10 @@
1717

1818
# In case this Notebook was launched from Galaxy a config file exists in /import/
1919
# For standalone usage we fall back to a port-less URL
20-
if os.environ.get('DOCKER_PORT', 'none') == 'none':
21-
c.NotebookApp.base_url = '/ipython/'
22-
c.NotebookApp.webapp_settings = {'static_url_prefix': '/ipython/static/'}
23-
else:
24-
c.NotebookApp.base_url = '/ipython/%s/' % os.environ['DOCKER_PORT']
25-
c.NotebookApp.webapp_settings = {'static_url_prefix': '/ipython/%s/static/' % os.environ['DOCKER_PORT']}
20+
c.NotebookApp.base_url = '%s/ipython/' % os.environ.get('PROXY_PREFIX', '')
21+
c.NotebookApp.webapp_settings = {
22+
'static_url_prefix': '%s/ipython/static/' % os.environ.get('PROXY_PREFIX', '')
23+
}
2624

2725
if os.environ.get('NOTEBOOK_PASSWORD', 'none') != 'none':
2826
c.NotebookApp.password = os.environ['NOTEBOOK_PASSWORD']

monitor_traffic.sh

100644100755
File mode changed.

startup.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)