Commit 2076bfee by Andrew Gaylard

Enable ecommerce on sandbox configuration conditionally.

parent 957eab2b
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
NGINX_SET_X_FORWARDED_HEADERS: True NGINX_SET_X_FORWARDED_HEADERS: True
# These should stay false for the public AMI # These should stay false for the public AMI
COMMON_ENABLE_DATADOG: False COMMON_ENABLE_DATADOG: False
SANDBOX_ENABLE_ECOMMERCE: False
COMMON_ENABLE_SPLUNKFORWARDER: False COMMON_ENABLE_SPLUNKFORWARDER: False
ENABLE_LEGACY_ORA: !!null ENABLE_LEGACY_ORA: !!null
roles: roles:
...@@ -30,6 +31,10 @@ ...@@ -30,6 +31,10 @@
- xqueue - xqueue
nginx_default_sites: nginx_default_sites:
- lms - lms
- role: nginx
nginx_sites:
- ecommerce
when: SANDBOX_ENABLE_ECOMMERCE
- role: mysql - role: mysql
when: EDXAPP_MYSQL_HOST == 'localhost' when: EDXAPP_MYSQL_HOST == 'localhost'
- edxlocal - edxlocal
...@@ -37,6 +42,10 @@ ...@@ -37,6 +42,10 @@
when: "'localhost' in EDXAPP_MONGO_HOSTS" when: "'localhost' in EDXAPP_MONGO_HOSTS"
- { role: 'edxapp', celery_worker: True } - { role: 'edxapp', celery_worker: True }
- edxapp - edxapp
- role: ecommerce
when: SANDBOX_ENABLE_ECOMMERCE
- role: ecomworker
when: SANDBOX_ENABLE_ECOMMERCE
- notifier - notifier
- analytics_api - analytics_api
- insights - insights
......
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