fixed the docker network bet. traefik and app. container
This commit is contained in:
parent
a060736866
commit
d825a46ded
@ -1719,7 +1719,7 @@ configure_traefik_local() {
|
|||||||
|
|
||||||
# Check if the target service is connected to the ${DOCKER_NETWORK} network
|
# Check if the target service is connected to the ${DOCKER_NETWORK} network
|
||||||
local service_in_network
|
local service_in_network
|
||||||
service_in_network=$(docker inspect "$LOCAL_SERVICE_NAME" 2>/dev/null | grep -o '"${DOCKER_NETWORK}"' || true)
|
service_in_network=$(docker inspect "$LOCAL_SERVICE_NAME" 2>/dev/null | grep -o "\"${DOCKER_NETWORK}\"" || true)
|
||||||
|
|
||||||
if [ -z "$service_in_network" ]; then
|
if [ -z "$service_in_network" ]; then
|
||||||
log_error "Target application service '$LOCAL_SERVICE_NAME' is not connected to '${DOCKER_NETWORK}' network."
|
log_error "Target application service '$LOCAL_SERVICE_NAME' is not connected to '${DOCKER_NETWORK}' network."
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user