Commit 82ac031a by nadeemshahzad Committed by Joseph Mulloy

update ecomworker to add redis support

parent 4ea052eb
...@@ -29,13 +29,14 @@ ECOMMERCE_WORKER_NEWRELIC_APPNAME: '{{ COMMON_ENVIRONMENT }}-{{ COMMON_DEPLOYMEN ...@@ -29,13 +29,14 @@ ECOMMERCE_WORKER_NEWRELIC_APPNAME: '{{ COMMON_ENVIRONMENT }}-{{ COMMON_DEPLOYMEN
# CELERY # CELERY
ECOMMERCE_WORKER_BROKER_USERNAME: 'celery' ECOMMERCE_WORKER_BROKER_USERNAME: 'celery'
ECOMMERCE_WORKER_BROKER_PASSWORD: 'celery' ECOMMERCE_WORKER_BROKER_PASSWORD: 'celery'
ECOMMERCE_WORKER_BROKER_TRANSPORT: 'amqp'
# Used as the default RabbitMQ IP. # Used as the default RabbitMQ IP.
ECOMMERCE_WORKER_BROKER_HOST: '{{ ansible_default_ipv4.address }}' ECOMMERCE_WORKER_BROKER_HOST: '{{ ansible_default_ipv4.address }}'
# Used as the default RabbitMQ port. # Used as the default RabbitMQ port.
ECOMMERCE_WORKER_BROKER_PORT: 5672 ECOMMERCE_WORKER_BROKER_PORT: 5672
ECOMMERCE_WORKER_BROKER_TRANSPORT: 'amqp' ECOMMERCE_WORKER_BROKER_TRANSPORT: 'amqp'
# Default broker URL. See http://celery.readthedocs.org/en/latest/configuration.html#broker-url. # Default broker URL. See http://celery.readthedocs.org/en/latest/configuration.html#broker-url.
ECOMMERCE_WORKER_BROKER_URL: '{{ ECOMMERCE_WORKER_BROKER_TRANSPORT }}://{{ ECOMMERCE_WORKER_BROKER_USERNAME }}:{{ ECOMMERCE_WORKER_BROKER_PASSWORD }}@{{ ECOMMERCE_WORKER_BROKER_HOST }}:{{ ECOMMERCE_WORKER_BROKER_PORT }}' ECOMMERCE_WORKER_BROKER_URL: "{{ ECOMMERCE_WORKER_BROKER_TRANSPORT }}://{{ ECOMMERCE_WORKER_BROKER_USERNAME }}:{{ ECOMMERCE_WORKER_BROKER_PASSWORD }}@{{ ECOMMERCE_WORKER_BROKER_HOST }}:{{ ECOMMERCE_WORKER_BROKER_PORT }}"
ECOMMERCE_WORKER_CONCURRENCY: 4 ECOMMERCE_WORKER_CONCURRENCY: 4
# END CELERY # END CELERY
......
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