Skip to content

Commit

Permalink
Update lms_service.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
G33tha authored Jun 25, 2019
1 parent d41ba92 commit a8a60b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/roles/stack-sunbird/tasks/lms_service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
ignore_errors: yes

- name: Deploy lms service
shell: "docker service create --with-registry-auth --replicas {{ learner_replicas }} -p 9000:9000 --name lms-service --hostname lms-service --reserve-memory {{ learner_reservation_memory }} --limit-memory {{ learner_limit_memory }} --limit-cpu {{ learner_limit_cpu }} --reserve-cpu {{ learner_reservation_cpu }} --health-cmd 'wget -qO- lms-service:9000/service/health || exit 1' --health-timeout 3s --health-retries 3 --network application_default --env-file /home/deployer/env/sunbird_lms-service.env {{hub_org}}/{{image_name}}:{{image_tag}}"
shell: "docker service create --with-registry-auth --replicas {{ learner_replicas }} -p 9005:9000 --name lms-service --hostname lms-service --reserve-memory {{ learner_reservation_memory }} --limit-memory {{ learner_limit_memory }} --limit-cpu {{ learner_limit_cpu }} --reserve-cpu {{ learner_reservation_cpu }} --health-cmd 'wget -qO- lms-service:9000/service/health || exit 1' --health-timeout 3s --health-retries 3 --network application_default --env-file /home/deployer/env/sunbird_lms-service.env {{hub_org}}/{{image_name}}:{{image_tag}}"
args:
chdir: /home/deployer/stack

0 comments on commit a8a60b8

Please sign in to comment.