@@ -22,7 +22,7 @@ galaxy_job_config:
22
22
pulsar_runner :
23
23
load : galaxy.jobs.runners.pulsar:PulsarMQJobRunner
24
24
galaxy_url : " https://{{ inventory_hostname }}"
25
- amqp_url : " pyamqp://galaxy :{{ rabbitmq_users_password.galaxy }}@{{ inventory_hostname }}:5671/galaxy ?ssl=1"
25
+ amqp_url : " pyamqp://pulsar :{{ rabbitmq_users_password.galaxy }}@{{ inventory_hostname }}:5671/pulsar ?ssl=1"
26
26
amqp_acknowledge : true
27
27
amqp_ack_republish_time : 1200
28
28
amqp_consumer_timeout : 2
@@ -52,44 +52,26 @@ galaxy_job_config:
52
52
value : /tmp
53
53
pulsar :
54
54
runner : pulsar_runner
55
- default_file_action : remote_rsync_transfer
55
+ default_file_action : remote_transfer
56
56
dependency_resolution : remote
57
57
jobs_directory : " /storage/praha5-elixir/home/galaxyeu/pulsar-test/files/staging"
58
58
persistence_directory : " /storage/praha5-elixir/home/galaxyeu/pulsar-test/files/persistent"
59
59
remote_metadata : false
60
60
rewrite_parameters : true
61
+ transport : curl
61
62
outputs_to_working_directory : false
62
63
submit_native_specification :
' -l select=1:ncpus=2:mem=8gb:scratch_local=50gb -l walltime=12:00:00 -q [email protected] '
63
64
singularity_enabled : true
64
65
singularity_volumes : " $job_directory:rw,$tool_directory:ro,$job_directory/outputs:rw,$working_directory:rw,/cvmfs/data.galaxyproject.org:ro,$SCRATCHDIR"
65
66
# # Following configuration works!
66
- # singularity_volumes: "$job_directory:rw,$tool_directory:ro,$job_directory/outputs:rw,$working_directory:rw,/cvmfs/data.galaxyproject.org:ro"
67
+ # singularity_volumes: "$job_directory:rw,$tool_directory:ro,$job_directory/outputs:rw,$working_directory:rw,/cvmfs/data.galaxyproject.org:ro"
67
68
container_resolvers :
68
69
- type : explicit_singularity
69
70
- type : mulled_singularity
70
- ssh_user : " {{ galaxy_user.name }}"
71
- ssh_host : " {{ inventory_hostname }}"
72
- ssh_port : 22
73
- ssh_key : |
74
- -----BEGIN OPENSSH PRIVATE KEY-----
75
- b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
76
- QyNTUxOQAAACAonATHbBRX3FMl1tbOgsoh2DKBTzrMWkAJnhtAMfX9TgAAAJh2JLntdiS5
77
- 7QAAAAtzc2gtZWQyNTUxOQAAACAonATHbBRX3FMl1tbOgsoh2DKBTzrMWkAJnhtAMfX9Tg
78
- AAAEAjJEh7bxnKxWkbTld8BUKj8wEEMrAFpKcd5BW7csc4wSicBMdsFFfcUyXW1s6CyiHY
79
- MoFPOsxaQAmeG0Ax9f1OAAAAEGdhbGF4eUB1c2VnYWxheHkBAgMEBQ==
80
- -----END OPENSSH PRIVATE KEY-----
81
71
env :
82
72
# Ensuring a consistent collation environment is good for reproducibility.
83
73
- name : LC_ALL
84
74
value : C
85
- # The cache directory holds the docker containers that get converted
86
- # - name: SINGULARITY_CACHEDIR
87
- # value: "/storage/praha5-elixir/home/galaxyeu/usegalaxy_data/cache/singularity"
88
- # Singularity uses a temporary directory to build the squashfs filesystem
89
- # - name: SINGULARITY_TMPDIR
90
- # value: "/storage/praha5-elixir/home/galaxyeu/usegalaxy_data/cache/singularity"
91
- # - name: SINGULARITY_BINDPATH
92
- # value: "/storage/praha5-elixir/home/galaxyeu:/home/galaxyeu:rw, $SCRATCHDIR:/scratch"
93
75
- name : TMPDIR
94
76
value : " $SCRATCHDIR"
95
77
- name : TMP
@@ -119,6 +101,9 @@ galaxy_job_config:
119
101
galaxy_config :
120
102
galaxy :
121
103
# Main Configuration
104
+ enable_oidc : true
105
+ oidc_config_file : " {{ galaxy_config_dir }}/oidc_config.xml"
106
+ oidc_backends_config_file : " {{ galaxy_config_dir }}/oidc_backends_config.xml"
122
107
logo_src : " https://www.e-infra.cz/img/logo.svg"
123
108
themes_config_file : " {{ galaxy_config_dir }}/themes.yml"
124
109
admin_users :
@@ -172,6 +157,9 @@ galaxy_config:
172
157
# Monitoring
173
158
statsd_host : localhost
174
159
statsd_influxdb : true
160
+ # FTP
161
+ ftp_upload_dir : /data/uploads
162
+ ftp_upload_site : " {{ inventory_hostname }}"
175
163
gravity :
176
164
process_manager : systemd
177
165
galaxy_root : " {{ galaxy_root }}/server"
@@ -234,6 +222,10 @@ galaxy_config_templates:
234
222
dest : " {{ galaxy_config.galaxy.job_resource_params_file }}"
235
223
- src : templates/galaxy/config/reports.yml
236
224
dest : " {{ galaxy_config.gravity.reports.config_file }}"
225
+ - src : templates/galaxy/config/oidc_config.xml
226
+ dest : " {{ galaxy_config_dir }}/oidc_config.xml"
227
+ - src : templates/galaxy/config/oidc_backends_config.xml
228
+ dest : " {{ galaxy_config_dir }}/oidc_backends_config.xml"
237
229
238
230
galaxy_extra_dirs :
239
231
- /data
@@ -257,11 +249,13 @@ certbot_environment: production
257
249
certbot_well_known_root : /srv/nginx/_well-known_root
258
250
certbot_share_key_users :
259
251
- www-data
252
+ - proftpd
260
253
certbot_share_key_ids :
261
254
- " 999:999"
262
255
certbot_post_renewal : |
263
256
systemctl restart nginx || true
264
257
docker restart rabbit_hole || true
258
+ systemctl restart proftpd || true
265
259
certbot_domains :
266
260
- " {{ inventory_hostname }}"
267
261
certbot_agree_tos : --agree-tos
@@ -272,6 +266,7 @@ nginx_servers:
272
266
- redirect-ssl
273
267
nginx_ssl_servers :
274
268
- galaxy
269
+ # - sentry
275
270
nginx_enable_default_server : false
276
271
nginx_conf_http :
277
272
client_max_body_size : 1g
@@ -331,17 +326,17 @@ rabbitmq_config:
331
326
consumer_timeout : 21600000 # 6 hours in milliseconds
332
327
333
328
rabbitmq_vhosts :
334
- - galaxy
329
+ - pulsar
335
330
- galaxy_internal
336
331
337
332
rabbitmq_users :
338
333
- user : debian
339
334
password : " {{ rabbitmq_users_password.mqadmin }}"
340
335
tags : administrator
341
336
vhost : /
342
- - user : galaxy
337
+ - user : pulsar
343
338
password : " {{ rabbitmq_users_password.galaxy }}"
344
- vhost : galaxy
339
+ vhost : pulsar
345
340
- user : galaxy
346
341
password : " {{ vault_rabbitmq_password_galaxy }}"
347
342
vhost : galaxy_internal
@@ -398,3 +393,24 @@ tiaas_dir: /srv/tiaas
398
393
tiaas_admin_user : admin
399
394
tiaas_admin_pass : changeme
400
395
396
+ # Proftpd:
397
+ proftpd_galaxy_auth : yes
398
+ galaxy_ftp_upload_dir : " {{ galaxy_config.galaxy.ftp_upload_dir }}"
399
+ proftpd_display_connect : |
400
+ {{ inventory_hostname }} FTP server
401
+
402
+ Unauthorized access is prohibited
403
+ proftpd_create_ftp_upload_dir : yes
404
+ proftpd_options :
405
+ - User : galaxy
406
+ - Group : galaxy
407
+ - Port : 21
408
+ proftpd_sql_db : galaxy@/var/run/postgresql
409
+ proftpd_sql_user : galaxy
410
+ proftpd_conf_ssl_certificate : /etc/letsencrypt/live/{{ inventory_hostname }}/cert.pem
411
+ proftpd_conf_ssl_certificate_key : /etc/letsencrypt/live/{{ inventory_hostname }}/privkey.pem
412
+ proftpd_global_options :
413
+ - PassivePorts : 56000 60000
414
+ proftpd_use_mod_tls_shmcache : false
415
+ proftpd_tls_options : NoSessionReuseRequired
416
+
0 commit comments