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
OpenEdx
configuration
Commits
892f4cf1
Commit
892f4cf1
authored
Sep 01, 2017
by
Clinton Blackburn
Committed by
Ibrahim
Oct 18, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! Fixing discovery for sandboxes
parent
c317bf93
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
4 deletions
+5
-4
playbooks/edx_sandbox.yml
+0
-1
playbooks/roles/discovery/defaults/main.yml
+3
-2
playbooks/roles/discovery/meta/main.yml
+1
-0
playbooks/vagrant-devstack.yml
+0
-1
util/jenkins/ansible-provision.sh
+1
-0
No files found.
playbooks/edx_sandbox.yml
View file @
892f4cf1
...
...
@@ -21,7 +21,6 @@
edx_platform_version
:
'
master'
# Set to false if deployed behind another proxy/load balancer.
NGINX_SET_X_FORWARDED_HEADERS
:
True
DISCOVERY_URL_ROOT
:
'
http://localhost:{{
DISCOVERY_NGINX_PORT
}}'
roles
:
-
role
:
swapfile
SWAPFILE_SIZE
:
4GB
...
...
playbooks/roles/discovery/defaults/main.yml
View file @
892f4cf1
...
...
@@ -58,9 +58,10 @@ DISCOVERY_ELASTICSEARCH_INDEX_NAME: 'catalog'
DISCOVERY_MEMCACHE
:
[
'
memcache'
]
DISCOVERY_VERSION
:
"
master"
DISCOVERY_VERSION
:
'
master'
DISCOVERY_DJANGO_SETTINGS_MODULE
:
"
course_discovery.settings.production"
DISCOVERY_URL_ROOT
:
'
http://discovery:{{
DISCOVERY_NGINX_PORT
}}'
DISCOVERY_HOSTNAME
:
'
localhost'
DISCOVERY_URL_ROOT
:
'
http://{{
DISCOVERY_HOSTNAME
}}:{{
DISCOVERY_NGINX_PORT
}}'
DISCOVERY_LOGOUT_URL
:
'
{{
DISCOVERY_URL_ROOT
}}/logout/'
DISCOVERY_SECRET_KEY
:
'
Your
secret
key
here'
...
...
playbooks/roles/discovery/meta/main.yml
View file @
892f4cf1
...
...
@@ -49,3 +49,4 @@ dependencies:
edx_django_service_extra_apps
:
'
{{
DISCOVERY_EXTRA_APPS
}}'
edx_django_service_session_expire_at_browser_close
:
'
{{
DISCOVERY_SESSION_EXPIRE_AT_BROWSER_CLOSE
}}'
edx_django_service_automated_users
:
'
{{
DISCOVERY_AUTOMATED_USERS
}}'
edx_django_service_hostname
:
'
{{
DISCOVERY_HOSTNAME
}}'
playbooks/vagrant-devstack.yml
View file @
892f4cf1
...
...
@@ -18,7 +18,6 @@
COMMON_SECURITY_UPDATES
:
true
SECURITY_UPGRADE_ON_ANSIBLE
:
true
MONGO_AUTH
:
false
DISCOVERY_URL_ROOT
:
'
http://localhost:{{
DISCOVERY_NGINX_PORT
}}'
vars_files
:
-
roles/edxapp/vars/devstack.yml
roles
:
...
...
util/jenkins/ansible-provision.sh
View file @
892f4cf1
...
...
@@ -299,6 +299,7 @@ CREDENTIALS_URL_ROOT: "https://{{ CREDENTIALS_DOMAIN }}"
CREDENTIALS_SOCIAL_AUTH_REDIRECT_IS_HTTPS: true
discovery_create_demo_data: true
DISCOVERY_HOSTNAME: "discovery-
${
deploy_host
}
"
DISCOVERY_URL_ROOT: "https://discovery-
${
deploy_host
}
"
DISCOVERY_SOCIAL_AUTH_REDIRECT_IS_HTTPS: true
DISCOVERY_ECOMMERCE_URL_ROOT: "https://ecommerce-
${
deploy_host
}
"
...
...
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