Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-sb-devops
Commits
11d7dc39
Commit
11d7dc39
authored
5 years ago
by
S M Y
Browse files
Options
Download
Patches
Plain Diff
Create notification service deployment scripts with correct limits
parent
e1ca9c13
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansible/roles/stack-sunbird/tasks/notification_service.yml
+7
-0
ansible/roles/stack-sunbird/tasks/notification_service.yml
with
7 additions
and
0 deletions
+7
-0
ansible/roles/stack-sunbird/tasks/notification_service.yml
0 → 100644
+
7
−
0
View file @
11d7dc39
---
-
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}}"
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets