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
0c95df39
Commit
0c95df39
authored
Sep 14, 2017
by
Michael Frey
Committed by
GitHub
Sep 14, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4095 from edx/mjfrey/ecommerce-memcache
add memcache setting for ecommerce to the anisble playbook
parents
c6f58ce3
9939611f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
docker/build/ecommerce/ansible_overrides.yml
+2
-0
playbooks/roles/ecommerce/defaults/main.yml
+7
-0
No files found.
docker/build/ecommerce/ansible_overrides.yml
View file @
0c95df39
...
...
@@ -13,3 +13,5 @@ ECOMMERCE_DATABASES:
PORT
:
'
3306'
ATOMIC_REQUESTS
:
true
CONN_MAX_AGE
:
60
ECOMMERCE_MEMCACHE
:
[
'
edx.devstack.memcached:11211'
]
playbooks/roles/ecommerce/defaults/main.yml
View file @
0c95df39
...
...
@@ -20,6 +20,8 @@ ECOMMERCE_PIP_EXTRA_ARGS: "-i {{ COMMON_PYPI_MIRROR_URL }}"
ECOMMERCE_NGINX_PORT
:
"
18130"
ECOMMERCE_SSL_NGINX_PORT
:
48130
ECOMMERCE_MEMCACHE
:
[
'
localhost:11211'
]
ECOMMERCE_DEFAULT_DB_NAME
:
'
ecommerce'
ECOMMERCE_DATABASE_USER
:
"
ecomm001"
ECOMMERCE_DATABASE_PASSWORD
:
"
password"
...
...
@@ -220,6 +222,11 @@ ECOMMERCE_SERVICE_CONFIG:
ENABLE_COMPREHENSIVE_THEMING
:
"
{{
ECOMMERCE_ENABLE_COMPREHENSIVE_THEMING
}}"
DEFAULT_SITE_THEME
:
"
{{
ECOMMERCE_DEFAULT_SITE_THEME
}}"
CACHES
:
default
:
BACKEND
:
'
django.core.cache.backends.memcached.MemcachedCache'
KEY_PREFIX
:
'
ecommerce'
LOCATION
:
'
{{
ECOMMERCE_MEMCACHE
}}'
ECOMMERCE_REPOS
:
-
PROTOCOL
:
"
{{
COMMON_GIT_PROTOCOL
}}"
...
...
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