Update development environment for rabbit

This commit is contained in:
Matthew Jones
2016-08-31 14:47:20 -04:00
parent c112fc3cf4
commit f0b7622672
5 changed files with 5 additions and 8 deletions

View File

@@ -64,7 +64,7 @@ else:
} }
# Celery AMQP configuration. # Celery AMQP configuration.
BROKER_URL = 'qpid://qpid:5672' BROKER_URL = 'amqp://guest:guest@rabbitmq//'
# Mongo host configuration # Mongo host configuration
MONGO_HOST = NotImplemented MONGO_HOST = NotImplemented

View File

@@ -108,7 +108,6 @@ python-troveclient==1.4.0
pytz==2015.7 pytz==2015.7
PyYAML==3.11 PyYAML==3.11
pyzmq==14.5.0 pyzmq==14.5.0
qpid-python==0.32.1
rackspace-auth-openstack==1.3 rackspace-auth-openstack==1.3
rackspace-novaclient==1.5 rackspace-novaclient==1.5
rax-default-network-flags-python-novaclient-ext==0.3.2 rax-default-network-flags-python-novaclient-ext==0.3.2

View File

@@ -10,4 +10,3 @@ pytest-cov
pytest-django pytest-django
pytest-pythonpath pytest-pythonpath
pytest-mock pytest-mock
qpid-tools

View File

@@ -9,7 +9,7 @@ services:
links: links:
- postgres - postgres
- memcached - memcached
- qpid - rabbitmq
# - sync # - sync
# volumes_from: # volumes_from:
# - sync # - sync
@@ -23,9 +23,8 @@ services:
memcached: memcached:
image: memcached:alpine image: memcached:alpine
qpid: rabbitmq:
image: fedora/qpid:latest image: rabbitmq:3-management
entrypoint: qpidd --auth=no
# Source Code Synchronization Container # Source Code Synchronization Container
# sync: # sync:

View File

@@ -4,7 +4,7 @@ set +x
# Wait for the databases to come up # Wait for the databases to come up
ansible -i "127.0.0.1," -c local -v -m wait_for -a "host=postgres port=5432" all ansible -i "127.0.0.1," -c local -v -m wait_for -a "host=postgres port=5432" all
ansible -i "127.0.0.1," -c local -v -m wait_for -a "host=memcached port=11211" all ansible -i "127.0.0.1," -c local -v -m wait_for -a "host=memcached port=11211" all
ansible -i "127.0.0.1," -c local -v -m wait_for -a "host=qpid port=5672" all ansible -i "127.0.0.1," -c local -v -m wait_for -a "host=rabbitmq port=5672" all
# In case Tower in the container wants to connect to itself, use "docker exec" to attach to the container otherwise # In case Tower in the container wants to connect to itself, use "docker exec" to attach to the container otherwise
# TODO: FIX # TODO: FIX