Commit 11d7dc39 authored by S M Y's avatar S M Y
Browse files

Create notification service deployment scripts with correct limits

parent e1ca9c13
No related merge requests found
Showing with 7 additions and 0 deletions
+7 -0
---
- name: Remove notification service
shell: "docker service rm notification-service"
ignore_errors: yes
- name: Deploy notification service
shell: "docker service create --with-registry-auth --replicas {{ notification_replicas }} -p 9012:9000 --name notification-service --hostname notification-service --limit-memory {{ notification_limit_memory }} --limit-cpu {{ notification_limit_cpu }} --network application_default --env-file /home/deployer/env/sunbird_notification-service.env {{hub_org}}/{{image_name}}:{{image_tag}}"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment