Docker compose improvements

* Make sure we explicitly set a hostname for tower nodes
* Switch rabbit vhost to use the root
This commit is contained in:
Matthew Jones
2016-09-08 11:02:51 -04:00
parent ebf103f345
commit eafb6c92b5
3 changed files with 6 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ set +x
# 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=memcached port=11211" all
ansible -i "127.0.0.1," -c local -v -m wait_for -a "host=rabbitmq port=5672" all
ansible -i "127.0.0.1," -c local -v -m wait_for -a "host=${RABBITMQ_HOST} port=5672" all
# In case Tower in the container wants to connect to itself, use "docker exec" to attach to the container otherwise
# TODO: FIX