Skip to content

Commit

Permalink
added missing wodbs docker-compose file copying task for #13
Browse files Browse the repository at this point in the history
  • Loading branch information
giraygi committed Oct 11, 2024
1 parent 1f46856 commit 4c5d43f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/roles/ols_wodbs/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- name: Run docker-compose -f docker-compose-wodbs.yml up -d
command: 'docker-compose up -f {{ alternative_wodbs_dockercomposefile }} -d'
command: 'docker-compose up -f docker-compose-wodbs.yml -d'
args:
chdir: '{{ ols4_base_dir }}'
environment:
Expand Down
6 changes: 6 additions & 0 deletions ansible/roles/preprocess/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@
dest: '{{ ols4_base_dir }}/docker-compose.yml'
when: (alternative_dockercomposefile is defined) and (alternative_dockercomposefile != "") and (alternative_dockercomposefile is not none)

- name: Copy wodbs docker compose file
copy:
src: '{{ alternative_wodbs_dockercomposefile }}'
dest: '{{ ols4_base_dir }}/docker-compose-wodbs.yml'
when: (alternative_wodbs_dockercomposefile is defined) and (alternative_wodbs_dockercomposefile != "") and (alternative_wodbs_dockercomposefile is not none)

- name: Replace backend url for swagger
command: 'sed -i "s,{{ ols4_default_swagger_url }},{{ ols4_swagger_url }},g" backend/src/main/java/uk/ac/ebi/spot/ols/config/SwaggerConfig.java'
args:
Expand Down

0 comments on commit 4c5d43f

Please sign in to comment.