Skip to content

Commit db91b28

Browse files
committed
fix
1 parent 23fed01 commit db91b28

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

services/portainer/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ up-master: .init .env secrets ${TEMP_COMPOSE}-master
4444
.PHONY: configure-portainer-registry
4545
configure-portainer-registry: venv $(VENV_BIN)/python $(WAIT_FOR_IT) ## Add registry to Portainer
4646
@$(MAKE) --no-print-directory install REQUIREMENTS_FILE=./scripts/requirements.txt
47+
@set -o allexport; source $(REPO_CONFIG_LOCATION); set +o allexport; \
48+
$(WAIT_FOR_IT) http $$PORTAINER_URL --timeout=120s --interval=5s --expect-status-code 200 && \
49+
$(VENV_BIN)/python ./scripts/configure_portainer_registry.py
4750

4851
# Helpers -------------------------------------------------
4952

0 commit comments

Comments
 (0)