diff --git a/templates/galaxy.yaml b/templates/galaxy.yaml index 5756208..ea4095a 100644 --- a/templates/galaxy.yaml +++ b/templates/galaxy.yaml @@ -30,7 +30,7 @@ topology_template: dns_name: type: string - description: DNS name of the Galaxy portal + description: DNS name of the Galaxy portal (leave empty to use galaxy..nip.io) default: '' node_templates: @@ -62,5 +62,7 @@ topology_template: - host: simple_node outputs: - galaxy_url: - value: { concat: [ 'https://', get_attribute: [ simple_node, public_address, 0 ], ':8443/' ] } + galaxy_nip_url: + value: { concat: [ 'https://galaxy.', get_attribute: [ simple_node, public_address, 0 ], 'nip.io/' ] } + galaxy_dns_url: + value: { concat: [ 'https://', { get_input: dns_name }, '/' ] } diff --git a/templates/slurm_galaxy.yml b/templates/slurm_galaxy.yml index 06f939e..fde7171 100644 --- a/templates/slurm_galaxy.yml +++ b/templates/slurm_galaxy.yml @@ -28,7 +28,7 @@ topology_template: default: adminpass galaxy_dns_name: type: string - description: DNS name of the Galaxy portal + description: DNS name of the Galaxy portal (leave empty to use galaxy..nip.io) default: '' @@ -92,5 +92,7 @@ topology_template: - dependency: galaxy_portal outputs: - galaxy_url: - value: { concat: [ 'https://', get_attribute: [ lrms_server, public_address, 0 ], ':8443/' ] } + galaxy_nip_url: + value: { concat: [ 'https://galaxy.', get_attribute: [ simple_node, public_address, 0 ], 'nip.io/' ] } + galaxy_dns_url: + value: { concat: [ 'https://', { get_input: dns_name }, '/' ] }