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
ef449bc5
Commit
ef449bc5
authored
Oct 11, 2013
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
variable naming
parent
baf15c80
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
12 additions
and
12 deletions
+12
-12
playbooks/roles/discern/defaults/main.yml
+2
-2
playbooks/roles/nginx/templates/cms.j2
+1
-1
playbooks/roles/nginx/templates/lms-preview.j2
+1
-1
playbooks/roles/nginx/templates/lms.j2
+1
-1
playbooks/roles/nginx/templates/xserver.j2
+2
-2
playbooks/roles/ora/defaults/main.yml
+2
-2
playbooks/roles/xserver/defaults/main.yml
+2
-2
playbooks/roles/xserver/templates/xserver.conf.j2
+1
-1
No files found.
playbooks/roles/discern/defaults/main.yml
View file @
ef449bc5
DISCERN_NGINX_PORT
:
8
0
DISCERN_NGINX_PORT
:
1807
0
discern_source_repo
:
https://github.com/edx/discern.git
discern_source_repo
:
https://github.com/edx/discern.git
ease_source_repo
:
https://github.com/edx/ease.git
ease_source_repo
:
https://github.com/edx/ease.git
...
@@ -8,6 +8,6 @@ discern_settings: discern.aws
...
@@ -8,6 +8,6 @@ discern_settings: discern.aws
nltk_data_dir
:
/usr/share/nltk_data
nltk_data_dir
:
/usr/share/nltk_data
ease_branch
:
master
ease_branch
:
master
discern_branch
:
dev
discern_branch
:
dev
gunicorn_port
:
7999
discern_gunicorn_port
:
8070
discern_user
:
discern
discern_user
:
discern
site_name
:
discern
site_name
:
discern
playbooks/roles/nginx/templates/cms.j2
View file @
ef449bc5
upstream cms-backend {
upstream cms-backend {
# For a TCP configuration:
# For a TCP configuration:
server 127.0.0.1:{{ edxapp_cms_
app
_port }} fail_timeout=0;
server 127.0.0.1:{{ edxapp_cms_
gunicorn
_port }} fail_timeout=0;
}
}
server {
server {
...
...
playbooks/roles/nginx/templates/lms-preview.j2
View file @
ef449bc5
upstream lms-preview-backend {
upstream lms-preview-backend {
# For a TCP configuration:
# For a TCP configuration:
server 127.0.0.1:{{ edxapp_lms_preview_
app
_port }} fail_timeout=0;
server 127.0.0.1:{{ edxapp_lms_preview_
gunicorn
_port }} fail_timeout=0;
}
}
server {
server {
...
...
playbooks/roles/nginx/templates/lms.j2
View file @
ef449bc5
upstream lms-backend {
upstream lms-backend {
# For a TCP configuration:
# For a TCP configuration:
server 127.0.0.1:{{ edxapp_lms_
app
_port }} fail_timeout=0;
server 127.0.0.1:{{ edxapp_lms_
gunicorn
_port }} fail_timeout=0;
}
}
server {
server {
...
...
playbooks/roles/nginx/templates/xserver.j2
View file @
ef449bc5
...
@@ -10,11 +10,11 @@
...
@@ -10,11 +10,11 @@
##
##
upstream xserver_app_server {
upstream xserver_app_server {
# For a TCP configuration:
# For a TCP configuration:
server 127.0.0.1:{{ xserver_port }} fail_timeout=0;
server 127.0.0.1:{{ xserver_
gunicorn_
port }} fail_timeout=0;
}
}
server {
server {
listen {{
xserver_nginx_port
}} default_server;
listen {{
XSERVER_NGINX_PORT
}} default_server;
location / {
location / {
try_files $uri @proxy_to_app;
try_files $uri @proxy_to_app;
...
...
playbooks/roles/ora/defaults/main.yml
View file @
ef449bc5
# vars for the ORA role
# vars for the ORA role
---
---
ORA_NGINX_PORT
:
180
91
ORA_NGINX_PORT
:
180
60
ora_code_dir
:
"
{{
app_base_dir
}}/edx-ora"
ora_code_dir
:
"
{{
app_base_dir
}}/edx-ora"
# Default nginx listen port
# Default nginx listen port
...
@@ -11,7 +11,7 @@ ora_user_home: "/opt/edx-ora"
...
@@ -11,7 +11,7 @@ ora_user_home: "/opt/edx-ora"
ora_venv_dir
:
"
{{
ora_user_home
}}/virtualenvs/{{
ora_user
}}"
ora_venv_dir
:
"
{{
ora_user_home
}}/virtualenvs/{{
ora_user
}}"
ease_venv_dir
:
"
{{
ora_venv_dir
}}"
ease_venv_dir
:
"
{{
ora_venv_dir
}}"
ora_gunicorn_workers
:
4
ora_gunicorn_workers
:
4
ora_gunicorn_port
:
80
91
ora_gunicorn_port
:
80
60
# ora_env_config and ora_auth_config
# ora_env_config and ora_auth_config
# should be overridden for your
# should be overridden for your
...
...
playbooks/roles/xserver/defaults/main.yml
View file @
ef449bc5
# Variables for the xserver.
# Variables for the xserver.
---
---
XSERVER_NGINX_PORT
:
18050
RABBIT_RUN_URL
:
'
'
RABBIT_RUN_URL
:
'
'
RABBIT_GRADER_ROOT
:
'
'
RABBIT_GRADER_ROOT
:
'
'
RABBIT_LOGGING_ENV
:
'
sandbox'
RABBIT_LOGGING_ENV
:
'
sandbox'
...
@@ -34,8 +35,7 @@ xserver_sandbox_venv_dir: "{{ venv_dir }}_apparmor_sandbox"
...
@@ -34,8 +35,7 @@ xserver_sandbox_venv_dir: "{{ venv_dir }}_apparmor_sandbox"
xserver_requirements_file
:
"
{{
xserver_code_dir
}}/requirements.txt"
xserver_requirements_file
:
"
{{
xserver_code_dir
}}/requirements.txt"
xserver_port
:
8050
xserver_gunicorn_port
:
8050
xserver_nginx_port
:
18050
xserver_debian_pkgs
:
xserver_debian_pkgs
:
-
build-essential
-
build-essential
...
...
playbooks/roles/xserver/templates/xserver.conf.j2
View file @
ef449bc5
...
@@ -13,7 +13,7 @@ env PID=/var/tmp/xserver.pid
...
@@ -13,7 +13,7 @@ env PID=/var/tmp/xserver.pid
env NEW_RELIC_CONFIG_FILE={{ app_base_dir }}/newrelic.ini
env NEW_RELIC_CONFIG_FILE={{ app_base_dir }}/newrelic.ini
env NEWRELIC={{ venv_dir }}/bin/newrelic-admin
env NEWRELIC={{ venv_dir }}/bin/newrelic-admin
env WORKERS={{ ansible_processor|length }}
env WORKERS={{ ansible_processor|length }}
env PORT={{ xserver_port }}
env PORT={{ xserver_
gunicor_
port }}
env LANG=en_US.UTF-8
env LANG=en_US.UTF-8
env DJANGO_SETTINGS_MODULE=xserver_aws_settings
env DJANGO_SETTINGS_MODULE=xserver_aws_settings
env SERVICE_VARIANT="xserver"
env SERVICE_VARIANT="xserver"
...
...
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