Commit e4920e94 by Feanil Patel

Merge pull request #175 from edx/feanil/default_app_ports

Extract the app port numbers into the vars file.
parents 6bf2d3e4 e9a8edf2
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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
......
Markdown is supported
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