Update
This commit is contained in:
parent
2671dde183
commit
db1b117e7f
@ -9,6 +9,7 @@ COPY ./api-eventbus/etc /etc/rabbitmq
|
|||||||
COPY ./api-eventbus/entrypoint.sh ./api-eventbus/wait-for-it.sh /
|
COPY ./api-eventbus/entrypoint.sh ./api-eventbus/wait-for-it.sh /
|
||||||
COPY ./.app.config /
|
COPY ./.app.config /
|
||||||
|
|
||||||
|
RUN apk update && apk add ca-certificates
|
||||||
# RUN rabbitmq-plugins enable --offline rabbitmq_prometheus
|
# RUN rabbitmq-plugins enable --offline rabbitmq_prometheus
|
||||||
|
|
||||||
EXPOSE 5672
|
EXPOSE 5672
|
||||||
|
@ -3,6 +3,8 @@ set +e
|
|||||||
|
|
||||||
update-resolv
|
update-resolv
|
||||||
|
|
||||||
|
update-ca-certificates
|
||||||
|
|
||||||
waitForService()
|
waitForService()
|
||||||
{
|
{
|
||||||
./wait-for-it.sh $1 -t 2 1>/dev/null 2>&1
|
./wait-for-it.sh $1 -t 2 1>/dev/null 2>&1
|
||||||
@ -16,9 +18,12 @@ waitForService()
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
waitForService "api-registry:8500"
|
waitForService "api-registry:8501"
|
||||||
# waitForService "logger.service.ego.io:24224"
|
waitForService "cache.service.ego.io:6379"
|
||||||
waitForService "api-logger:24224"
|
waitForService "logger.service.ego.io:24224"
|
||||||
|
waitForService "postgresdb.service.ego.io:5432"
|
||||||
|
# waitForService "api-logger:24224"
|
||||||
|
# waitForService "api-cache:6379"
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user