Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
e4920e94
Commit
e4920e94
authored
Jul 23, 2013
by
Feanil Patel
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #175 from edx/feanil/default_app_ports
Extract the app port numbers into the vars file.
parents
6bf2d3e4
e9a8edf2
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
4 deletions
+9
-4
playbooks/roles/edxapp/templates/cms.conf.j2
+1
-1
playbooks/roles/edxapp/templates/lms-preview.conf.j2
+1
-1
playbooks/roles/edxapp/templates/lms-xml.conf.j2
+1
-1
playbooks/roles/edxapp/templates/lms.conf.j2
+1
-1
playbooks/roles/edxapp/vars/main.yml
+5
-0
No files found.
playbooks/roles/edxapp/templates/cms.conf.j2
View file @
e4920e94
...
...
@@ -16,7 +16,7 @@ env WORKERS={{ ansible_processor|length * worker_core_mult.cms }}
{% else %}
env WORKERS={{ worker_core_mult.cms }}
{% endif %}
env PORT=
8010
env PORT=
{{edxapp_cms_app_port}}
env LANG=en_US.UTF-8
env DJANGO_SETTINGS_MODULE=cms.envs.aws
env SERVICE_VARIANT="cms"
...
...
playbooks/roles/edxapp/templates/lms-preview.conf.j2
View file @
e4920e94
...
...
@@ -17,7 +17,7 @@ env WORKERS={{ ansible_processor|length * worker_core_mult.lms_preview }}
{% else %}
env WORKERS={{ worker_core_mult.lms_preview }}
{% endif %}
env PORT=
8020
env PORT=
{{edxapp_lms_preview_app_port}}
env LANG=en_US.UTF-8
env DJANGO_SETTINGS_MODULE=lms.envs.aws
env SERVICE_VARIANT="lms-preview"
...
...
playbooks/roles/edxapp/templates/lms-xml.conf.j2
View file @
e4920e94
...
...
@@ -16,7 +16,7 @@ env WORKERS={{ ansible_processor|length * worker_core_mult.lms_xml }}
{% else %}
env WORKERS={{ worker_core_mult.lms_xml }}
{% endif %}
env PORT=
8030
env PORT=
{{edxapp_lms_xml_app_port}}
env LANG=en_US.UTF-8
env DJANGO_SETTINGS_MODULE=lms.envs.aws
env SERVICE_VARIANT="lms-xml"
...
...
playbooks/roles/edxapp/templates/lms.conf.j2
View file @
e4920e94
...
...
@@ -14,7 +14,7 @@ env WORKERS={{ ansible_processor|length * worker_core_mult.lms }}
{% else %}
env WORKERS={{ worker_core_mult.lms }}
{% endif %}
env PORT=
8000
env PORT=
{{edxapp_lms_app_port}}
env LANG=en_US.UTF-8
env DJANGO_SETTINGS_MODULE=lms.envs.aws
env SERVICE_VARIANT="lms"
...
...
playbooks/roles/edxapp/vars/main.yml
View file @
e4920e94
...
...
@@ -163,6 +163,11 @@ lms_nginx_port: 80
lms_preview_nginx_port
:
18020
cms_nginx_port
:
18010
edxapp_cms_app_port
:
8010
edxapp_lms_app_port
:
8010
edxapp_lms_xml_app_port
:
8010
edxapp_lms_preview_app_port
:
8010
# These vars are for creating the application json config
# files. There are two for each service that uses the
# 'edx-platform' code. Defining them will create the upstart
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment