forked from UtrechtUniversity/src-component-galaxy
-
Notifications
You must be signed in to change notification settings - Fork 1
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
11 changed files
with
116 additions
and
29 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 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
- ansible.builtin.template: | ||
src: "templates/nginx/galaxy-gie-proxy.j2" | ||
dest: "/etc/nginx/conf.d/gie-server.conf" | ||
mode: "0640" | ||
owner: "www-data" | ||
group: "www-data" | ||
notify: restart nginx |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<job_conf> | ||
<plugins workers="4"> | ||
<plugin id="local" type="runner" load="galaxy.jobs.runners.local:LocalJobRunner"/> | ||
</plugins> | ||
<destinations default="docker_dispatch"> | ||
<destination id="local" runner="local"/> | ||
<destination id="docker_local" runner="local"> | ||
<param id="docker_enabled">true</param> | ||
<param id="docker_volumes">$defaults</param> | ||
<param id="docker_sudo">false</param> | ||
<param id="docker_net">bridge</param> | ||
<param id="docker_auto_rm">true</param> | ||
<param id="docker_set_user"></param> | ||
<param id="require_container">true</param> | ||
</destination> | ||
<destination id="docker_dispatch" runner="dynamic"> | ||
<param id="type">docker_dispatch</param> | ||
<param id="docker_destination_id">docker_local</param> | ||
<param id="default_destination_id">local</param> | ||
</destination> | ||
</destinations> | ||
</job_conf> |
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 @@ | ||
server { | ||
{% if _molecule_active %} | ||
listen *:80; | ||
{% else %} | ||
listen *:443 ssl; | ||
ssl_certificate /etc/letsencrypt/live/{{ _galaxy_server_fqdn }}/fullchain.pem; # managed by Certbot | ||
ssl_certificate_key /etc/letsencrypt/live/{{ _galaxy_server_fqdn }}/privkey.pem; # managed by Certbot | ||
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot | ||
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot | ||
{% endif %} | ||
|
||
# Match all requests for the interactive tools subdomain | ||
server_name *.interactivetool.{{ _galaxy_server_fqdn }}; | ||
|
||
# Our log files will go here. | ||
access_log syslog:server=unix:/dev/log; | ||
error_log syslog:server=unix:/dev/log; | ||
|
||
# Proxy all requests to the GIE Proxy application | ||
location / { | ||
proxy_redirect off; | ||
proxy_http_version 1.1; | ||
proxy_set_header Host $host; | ||
proxy_set_header X-Real-IP $remote_addr; | ||
proxy_set_header Upgrade $http_upgrade; | ||
proxy_set_header Connection "upgrade"; | ||
proxy_pass http://localhost:{{ gie_proxy_port }}; | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
gie_proxy_dir: "{{ _galaxy_root }}/gie-proxy/proxy" | ||
gie_proxy_sessions_path: "{{ galaxy_mutable_data_dir }}/interactivetools_map.sqlite" | ||
gie_proxy_path_prefix: /interactivetool/ep | ||
gie_proxy_port: 4002 |
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