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
f36496c2
Commit
f36496c2
authored
5 years ago
by
S M Y
Browse files
Options
Download
Patches
Plain Diff
Removed health check for initial purpose
parent
fed9e0ec
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
+0
-2
ansible/roles/stack-sunbird/tasks/notification_service.yml
with
0 additions
and
2 deletions
+0
-2
ansible/roles/stack-sunbird/tasks/notification_service.yml
+
0
−
2
View file @
f36496c2
...
...
@@ -3,7 +3,5 @@
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 }} --health-cmd 'wget -qO- notification-service:9000/service/health || exit 1' --health-timeout 3s --health-retries 3 --network application_default --env-file /home/deployer/env/sunbird_notification-service.env {{hub_org}}/{{image_name}}:{{image_tag}}"
-
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