Wait for rabbitmq to be ready before starting

This commit is contained in:
Daniel Berteaud 2024-01-05 16:05:21 +01:00
parent f00269c0f2
commit 8b578689bd
1 changed files with 2 additions and 1 deletions

View File

@ -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 ]]
}