Unverified Commit f0ace371 by Fred Smith Committed by GitHub

Merge pull request #4295 from open-craft/jill/optional-roles

Allow ecommerce and discovery to be disabled on sandbox servers
parents f49b2b79 55cd9fa4
...@@ -24,6 +24,8 @@ ...@@ -24,6 +24,8 @@
DISCOVERY_URL_ROOT: 'http://localhost:{{ DISCOVERY_NGINX_PORT }}' DISCOVERY_URL_ROOT: 'http://localhost:{{ DISCOVERY_NGINX_PORT }}'
ecommerce_create_demo_data: true ecommerce_create_demo_data: true
credentials_create_demo_data: true credentials_create_demo_data: true
SANDBOX_ENABLE_DISCOVERY: true
SANDBOX_ENABLE_ECOMMERCE: true
roles: roles:
- role: swapfile - role: swapfile
SWAPFILE_SIZE: 4GB SWAPFILE_SIZE: 4GB
...@@ -47,9 +49,11 @@ ...@@ -47,9 +49,11 @@
- role: edxapp - role: edxapp
celery_worker: True celery_worker: True
- edxapp - edxapp
- ecommerce - role: ecommerce
when: SANDBOX_ENABLE_ECOMMERCE
- role: ecomworker - role: ecomworker
ECOMMERCE_WORKER_BROKER_HOST: 127.0.0.1 ECOMMERCE_WORKER_BROKER_HOST: 127.0.0.1
when: SANDBOX_ENABLE_ECOMMERCE
- analytics_api - analytics_api
- insights - insights
# not ready yet: - edx_notes_api # not ready yet: - edx_notes_api
...@@ -59,7 +63,8 @@ ...@@ -59,7 +63,8 @@
- role: elasticsearch - role: elasticsearch
when: "'localhost' in EDXAPP_ELASTIC_SEARCH_CONFIG|map(attribute='host')" when: "'localhost' in EDXAPP_ELASTIC_SEARCH_CONFIG|map(attribute='host')"
- forum - forum
- discovery - role: discovery
when: SANDBOX_ENABLE_DISCOVERY
- role: notifier - role: notifier
NOTIFIER_DIGEST_TASK_INTERVAL: 5 NOTIFIER_DIGEST_TASK_INTERVAL: 5
- role: xqueue - role: xqueue
......
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