-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added nginx, certbot, self_signed_certs role and removed galaxyextras…
… role
- Loading branch information
Showing
27 changed files
with
490 additions
and
134 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
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
|
||
FROM ubuntu:22.04 | ||
|
||
MAINTAINER Björn A. Grüning, [email protected] | ||
LABEL maintainer="Björn A. Grüning <[email protected]>" | ||
|
||
# TODO | ||
# | ||
|
@@ -92,7 +92,6 @@ RUN groupadd -r postgres -g $GALAXY_POSTGRES_GID \ | |
&& useradd -u $GALAXY_UID -r -g $GALAXY_USER -d $GALAXY_HOME -c "Galaxy user" --shell /bin/bash $GALAXY_USER \ | ||
&& mkdir $EXPORT_DIR $GALAXY_HOME $GALAXY_LOGS_DIR && chown -R $GALAXY_USER:$GALAXY_USER $GALAXY_HOME $EXPORT_DIR $GALAXY_LOGS_DIR \ | ||
&& apt-get -qq update && apt-get install --no-install-recommends -y curl sudo ca-certificates nano git gridengine-common gridengine-drmaa1.0 libswitch-perl \ | ||
&& apt-get install nginx-extras nginx-common --no-install-recommends -y \ | ||
# cleanup dance | ||
&& find /usr/lib/ -name '*.pyc' -delete \ | ||
&& rm -rf /tmp/* /root/.cache/ /var/cache/* $GALAXY_ROOT_DIR/client/node_modules/ $GALAXY_VIRTUAL_ENV/src/ /home/galaxy/.cache/ /home/galaxy/.npm/ | ||
|
@@ -155,19 +154,14 @@ ADD ansible/ /ansible/ | |
# Install ansible and related dependencies | ||
RUN apt update -qq && apt install --no-install-recommends -y software-properties-common dirmngr gpg gpg-agent bsdmainutils \ | ||
&& sudo add-apt-repository ppa:ansible/ansible-7 \ | ||
&& apt install --no-install-recommends -y ansible \ | ||
# Make python3 standard | ||
&& update-alternatives --install /usr/bin/python python /usr/bin/python3 10 \ | ||
&& apt install --no-install-recommends -y ansible \ | ||
&& apt purge -y systemd && apt-get autoremove -y && apt-get clean | ||
|
||
# Install ansible roles | ||
RUN ansible-galaxy install -r /ansible/requirements.yml -p /ansible/roles | ||
|
||
# to be removed after adding nginx role | ||
RUN ansible-playbook /ansible/nginx.yml \ | ||
--extra-vars nginx_use_remote_header=True \ | ||
--tags=nginx,proxy_prefix -c local | ||
|
||
# Install flower separately as systemd tasks (tagged with 'service') have to be skipped | ||
RUN export PATH=$GALAXY_CONDA_PREFIX/bin/:$PATH \ | ||
&& ansible-playbook /ansible/flower.yml --skip-tags service \ | ||
|
@@ -205,12 +199,10 @@ RUN mkdir -p /shed_tools $GALAXY_CONFIG_TUS_UPLOAD_STORE \ | |
--extra-vars tus_upload_store_path=$GALAXY_CONFIG_TUS_UPLOAD_STORE \ | ||
--extra-vars gx_it_proxy_sessions_path=$GALAXY_CONFIG_INTERACTIVETOOLS_MAP \ | ||
&& . $GALAXY_VIRTUAL_ENV/bin/activate \ | ||
&& pip install WeasyPrint \ | ||
&& pip install weasyprint>=61.2 \ | ||
&& deactivate \ | ||
# this is needed here again to install any conditional dependencies | ||
&& cd $GALAXY_ROOT_DIR && ./scripts/common_startup.sh \ | ||
&& cd config && find . -name 'node_modules' -type d -prune -exec rm -rf '{}' + \ | ||
&& find . -name '.cache' -type d -prune -exec rm -rf '{}' + \ | ||
&& find $GALAXY_ROOT_DIR/config -name 'node_modules' -type d -prune -exec rm -rf '{}' + \ | ||
&& find $GALAXY_ROOT_DIR/config -name '.cache' -type d -prune -exec rm -rf '{}' + \ | ||
&& apt purge software-properties-common dirmngr gpg gpg-agent -y && apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ~/.cache/ \ | ||
# cleanup dance | ||
&& find $GALAXY_ROOT_DIR/ -name '*.pyc' -delete | true \ | ||
|
@@ -338,7 +330,8 @@ ENV SUPERVISOR_POSTGRES_AUTOSTART=False \ | |
GRAVITY_MANAGE_TUSD=True \ | ||
GRAVITY_MANAGE_REPORTS=True \ | ||
HOST_DOCKER_LEGACY= \ | ||
STARTUP_EXPORT_USER_FILES=True | ||
STARTUP_EXPORT_USER_FILES=True \ | ||
LOAD_GALAXY_CONDITIONAL_DEPENDENCIES=True | ||
|
||
ENTRYPOINT ["/sbin/tini", "--"] | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIE7TCCAtWgAwIBAgIUHBIplAOVmxyIRH51KvXuSWydCj8wDQYJKoZIhvcNAQEL | ||
BQAwFDESMBAGA1UEAwwJbG9jYWxob3N0MB4XDTI0MTEwNjIzMDU1NVoXDTM0MTEw | ||
NDIzMDU1NVowFDESMBAGA1UEAwwJbG9jYWxob3N0MIICIjANBgkqhkiG9w0BAQEF | ||
AAOCAg8AMIICCgKCAgEA1kSpfexOnDQvNDwSg/4Cjv13+41VF2RgJdpk0n1iBz92 | ||
GKEl7SEh+nhUFinn+CKv2EaNQ7Nv5/+BNoPbBvS8Gm7ZtGt+cFXqRy4ka5It68sq | ||
bwZadmAGwksJbvcizs5D6XS3BPIB2FrxvBbhzOj+oDYxC3HItIgYwV0+Gv/GBDCi | ||
F4+b9dO//gfR1ywqsvGczaaMBkbhuOZ2WZph9nF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2uNAk2WX632BFa0OvGnYFF68x8flYQUOXVgC3B5/xMxWfy5JLC/jwE | ||
DFvLMZinxLiJIx9Bbn1PCPXNIk7waDK2Y1YYVj61tKupFEh470C1Rra/C+RP08Be | ||
5zJi0OZumpfCa+Hz4UDv9Cm6tTrrG/xwpicQidfPzkSublgzzW0Zvx/s6C+5Rqzm | ||
PLZw6l33bEQstPcJSxUmSNlaNwsUJxEGGNnAwfQq6vPTp0YJZ+xo0BUOeFpt7tdC | ||
pygM9OEmi1vuRknJr3vD+aM= | ||
-----END CERTIFICATE----- |
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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
-----BEGIN RSA PRIVATE KEY----- | ||
MIIJKQIBAAKCAgEA1kSpfexOnDQvNDwSg/4Cjv13+41VF2RgJdpk0n1iBz92GKEl | ||
7SEh+nhUFinn+CKv2EaNQ7Nv5/+BNoPbBvS8Gm7ZtGt+cFXqRy4ka5It68sqbwZa | ||
dmAGwksJbvcizs5D6XS3BPIB2FrxvBbhzOj+oDYxC3HItIgYwV0+Gv/GBDCiF4+b | ||
9dO//gfR1ywqsvGczaaMBkbhuOZ2WZph9nFEcdHgNEzLn/HJsYZv0crrFjCLo7+F | ||
WsYIdM1wNP2bkpPzRFpB1ujxfl9xxH4pTc06sHIKivnoVMs5VvsqdWtosJi/s84A | ||
LuofPDKuGN2JaTA8e0MVnC2ZxOcDFUtR/WvN8rkUMcNnP8nKJGlFuDRbVMCqMrzx | ||
glAUeOCc4sjOZxvSlCGa44xGUCvpiVvE9pVO0pNTXQGlNlC9DWnhO4VkOZf7rnx2 | ||
a9u707g3GbyfjJfMmZIn3jZTpbOe+6JVgtgrxATa9g8aYKWVOe5HzJywgTkCktNW | ||
cqZr4Kx4lKTM4so4dbsZe3pwHBi+XeInUzwEhFcbcP3UUZXpRmzOX7vIkd6+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| ||
jz/tDTT/8N8VLqSc9secwDC0cLvm7h5guFUf5dAhp7JY5dmo75UWm1GyY+AfiazC | ||
dmTunKSG3bKKQzgPvRCHyhsZH+h5e43bYT9JRiukn3jbn35vAakG+1Eu8FAYaOLN | ||
ocxrvdjDnJf8BmSuc5ucMxe624zYjj6bF0SjGpKNIVK6XZ4mS+qRsXkMEP00lF5X | ||
wPjXUKAYppU/XWuoKsvFrp4wSZquIrAhAoIBAQCWE7gx9/Ao7hT5fq0ho+TVV7Cp | ||
5gnDlNVASexjOrVS8OuQntrKNbYrvcgdCivyxVXxi3HFoydHPg9U4VchrADj9qPL | ||
9BH3/BCZJPttGYVIfPThJCnj6kM11BuOSweG/nEU03N36XsxR4748RiRf+MyL2kX | ||
KxMEwt+RZvH5beqMLrbLuQ8ey7QNJx/XK3wYhl90q8eJgEFHaKz/LBB/Fwerj5mW | ||
f+5jNCbDg+ey7gUmYh8pHqc1KlI8orvRmYP2m2OJFXIHVY+O0U5k/lKXBndM8TpQ | ||
jzCf/N7e2g/7lkZKQhaMrfBsU1s9Ib2p7JuaOyeOKdN4qKURj8xtb3m6fymK | ||
-----END RSA PRIVATE KEY----- |
This file was deleted.
Oops, something went wrong.
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.