Skip to content

Commit

Permalink
build: replace localhost w/ 127.0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
frugan-dev committed Jun 17, 2024
1 parent 12c6555 commit 11c3ae6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ set-env:

wait:
@echo "Waiting for services to be ready"
@$(TMP_DIR)/wait-for-it.sh localhost:80 --timeout=300 --strict -- echo "WordPress is up"
@$(TMP_DIR)/wait-for-it.sh localhost:$(NODE_PORT) --timeout=300 --strict -- echo "Node is up"
@$(TMP_DIR)/wait-for-it.sh 127.0.0.1:80 --timeout=300 --strict -- echo "WordPress is up"
@$(TMP_DIR)/wait-for-it.sh 127.0.0.1:$(NODE_PORT) --timeout=300 --strict -- echo "Node is up"

@echo "Waiting for WordPress to complete setup"
@$(DOCKER_COMPOSE) exec -u$(WORDPRESS_CONTAINER_USER) $(WORDPRESS_CONTAINER_NAME) sh -c 'timeout=300; while [ $$timeout -gt 0 ]; do [ -f $${WORDPRESS_CONF_FILE:-/bitnami/wordpress/wp-config.php} ] && break; echo "Waiting for wp-config.php..."; sleep 5; timeout=$$((timeout - 5)); done; [ $$timeout -gt 0 ]'
Expand Down

0 comments on commit 11c3ae6

Please sign in to comment.