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
baf15c80
Commit
baf15c80
authored
Oct 11, 2013
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
variable naming consistency
parent
c30ef5a7
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
16 additions
and
13 deletions
+16
-13
playbooks/roles/discern/defaults/main.yml
+2
-1
playbooks/roles/edxapp/defaults/main.yml
+3
-3
playbooks/roles/edxapp/templates/cms.conf.j2
+1
-1
playbooks/roles/edxapp/templates/lms-preview.conf.j2
+1
-1
playbooks/roles/edxapp/templates/lms.conf.j2
+1
-1
playbooks/roles/nginx/templates/discern.j2
+2
-2
playbooks/roles/nginx/templates/ora.j2
+1
-1
playbooks/roles/nginx/templates/xqueue.j2
+1
-1
playbooks/roles/ora/defaults/main.yml
+2
-1
playbooks/roles/xqueue/defaults/main.yml
+2
-1
No files found.
playbooks/roles/discern/defaults/main.yml
View file @
baf15c80
DISCERN_NGINX_PORT
:
80
discern_source_repo
:
https://github.com/edx/discern.git
ease_source_repo
:
https://github.com/edx/ease.git
ease_dir
:
$app_base_dir/ease
...
...
@@ -6,7 +8,6 @@ discern_settings: discern.aws
nltk_data_dir
:
/usr/share/nltk_data
ease_branch
:
master
discern_branch
:
dev
discern_nginx_port
:
80
gunicorn_port
:
7999
discern_user
:
discern
site_name
:
discern
playbooks/roles/edxapp/defaults/main.yml
View file @
baf15c80
...
...
@@ -235,9 +235,9 @@ edx_platform_code_dir: "{{ app_base_dir }}/edx-platform"
# gunicorn ports, these shouldn't need to be overridden
edxapp_cms_
app
_port
:
8010
edxapp_lms_
app
_port
:
8000
edxapp_lms_preview_
app
_port
:
8020
edxapp_cms_
gunicorn
_port
:
8010
edxapp_lms_
gunicorn
_port
:
8000
edxapp_lms_preview_
gunicorn
_port
:
8020
...
...
playbooks/roles/edxapp/templates/cms.conf.j2
View file @
baf15c80
...
...
@@ -16,7 +16,7 @@ env WORKERS={{ ansible_processor|length * worker_core_mult.cms }}
{% else %}
env WORKERS={{ worker_core_mult.cms }}
{% endif %}
env PORT={{edxapp_cms_
app
_port}}
env PORT={{edxapp_cms_
gunicorn
_port}}
env ADDRESS={{edxapp_cms_app_address}}
env LANG=en_US.UTF-8
env DJANGO_SETTINGS_MODULE=cms.envs.aws
...
...
playbooks/roles/edxapp/templates/lms-preview.conf.j2
View file @
baf15c80
...
...
@@ -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={{edxapp_lms_preview_
app
_port}}
env PORT={{edxapp_lms_preview_
gunicorn
_port}}
env ADDRESS={{edxapp_lms_preview_app_address}}
env LANG=en_US.UTF-8
env DJANGO_SETTINGS_MODULE=lms.envs.aws
...
...
playbooks/roles/edxapp/templates/lms.conf.j2
View file @
baf15c80
...
...
@@ -14,7 +14,7 @@ env WORKERS={{ ansible_processor|length * worker_core_mult.lms }}
{% else %}
env WORKERS={{ worker_core_mult.lms }}
{% endif %}
env PORT={{edxapp_lms_
app
_port}}
env PORT={{edxapp_lms_
gunicorn
_port}}
env ADDRESS={{edxapp_lms_app_address}}
env LANG=en_US.UTF-8
env DJANGO_SETTINGS_MODULE={{ edxapp_lms_env }}
...
...
playbooks/roles/nginx/templates/discern.j2
View file @
baf15c80
server {
listen {{
discern_nginx_port
}};
listen {{
DISCERN_NGINX_PORT
}};
server_name localhost;
set $my_host $http_host;
...
...
@@ -9,7 +9,7 @@ server {
# https://docs.djangoproject.com/en/dev/howto/static-files/#serving-static-files-in-production
location /static/ { # STATIC_URL
alias {{
discern_dir
}}/staticfiles/;
alias {{
discern_dir
}}/staticfiles/;
expires 1m;
autoindex on;
}
...
...
playbooks/roles/nginx/templates/ora.j2
View file @
baf15c80
...
...
@@ -4,7 +4,7 @@ upstream app_server {
}
server {
listen {{
ora_nginx_port
}} default_server;
listen {{
ORA_NGINX_PORT
}} default_server;
location / {
...
...
playbooks/roles/nginx/templates/xqueue.j2
View file @
baf15c80
...
...
@@ -4,7 +4,7 @@ upstream xqueue_app_server {
}
server {
listen {{
xqueue_nginx_port
}} default_server;
listen {{
XQUEUE_NGINX_PORT
}} default_server;
location / {
try_files $uri @proxy_to_app;
...
...
playbooks/roles/ora/defaults/main.yml
View file @
baf15c80
# vars for the ORA role
---
ORA_NGINX_PORT
:
18091
ora_code_dir
:
"
{{
app_base_dir
}}/edx-ora"
# Default nginx listen port
# These should be overrided if you want
...
...
@@ -9,7 +11,6 @@ ora_user_home: "/opt/edx-ora"
ora_venv_dir
:
"
{{
ora_user_home
}}/virtualenvs/{{
ora_user
}}"
ease_venv_dir
:
"
{{
ora_venv_dir
}}"
ora_gunicorn_workers
:
4
ora_nginx_port
:
18091
ora_gunicorn_port
:
8091
# ora_env_config and ora_auth_config
...
...
playbooks/roles/xqueue/defaults/main.yml
View file @
baf15c80
# variables common to the xqueue role, automatically loaded
# when the role is included
---
XQUEUE_NGINX_PORT
:
18040
xqueue_code_dir
:
"
{{
app_base_dir
}}/xqueue"
# Default nginx listen port
# These should be overrided if you want
# to serve all content on port 80
xqueue_code_dir
:
"
{{
app_base_dir
}}/xqueue"
xqueue_nginx_port
:
18040
xqueue_gunicorn_port
:
8040
xqueue_user
:
"
xqueue"
...
...
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