Commit dbe0a14c by Fred Smith

Merge pull request #2776 from open-craft/agaylard/make-ecommerce-conditionally-enabled

Enable ecommerce on sandbox configuration conditionally.
parents 56d802bf 8e79e690
...@@ -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
roles: roles:
- { role: swapfile, SWAPFILE_SIZE: "2GB" } - { role: swapfile, SWAPFILE_SIZE: "2GB" }
...@@ -29,6 +30,10 @@ ...@@ -29,6 +30,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 @@
- { role: 'rabbitmq', rabbitmq_ip: '127.0.0.1' } - { role: 'rabbitmq', rabbitmq_ip: '127.0.0.1' }
- { 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