Wait for rabbitmq to be ready before starting
This commit is contained in:
parent
f00269c0f2
commit
8b578689bd
|
@ -74,8 +74,9 @@ job [[ .instance | toJSON ]] {
|
|||
}
|
||||
|
||||
env {
|
||||
NGINX_LISTEN_IP = "127.0.0.1"
|
||||
NGINX_LISTEN_IP = "127.0.0.1"
|
||||
APPLICATION_NAME = "[[ .instance ]][[ .consul.suffix ]]"
|
||||
WAIT_FOR_TARGETS = "127.0.0.1:5672"
|
||||
[[ template "common/proxy_env" $c ]]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue