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
a8a60b88
Unverified
Commit
a8a60b88
authored
5 years ago
by
G33tha
Committed by
GitHub
5 years ago
Browse files
Options
Download
Patches
Plain Diff
Update lms_service.yml
parent
d41ba921
lms-changes_RC1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansible/roles/stack-sunbird/tasks/lms_service.yml
+1
-1
ansible/roles/stack-sunbird/tasks/lms_service.yml
with
1 addition
and
1 deletion
+1
-1
ansible/roles/stack-sunbird/tasks/lms_service.yml
+
1
−
1
View file @
a8a60b88
...
@@ -4,6 +4,6 @@
...
@@ -4,6 +4,6 @@
ignore_errors
:
yes
ignore_errors
:
yes
-
name
:
Deploy lms service
-
name
:
Deploy lms service
shell
:
"
docker
service
create
--with-registry-auth
--replicas
{{
learner_replicas
}}
-p
900
0
: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
900
5
: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
:
args
:
chdir
:
/home/deployer/stack
chdir
:
/home/deployer/stack
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