improve docker-compose.yml file detection

This commit is contained in:
aynic.os
2023-11-24 02:57:42 +00:00
parent ac3b5c2381
commit 2fb3c83b6a
5 changed files with 20 additions and 7 deletions
+2
View File
@@ -192,7 +192,9 @@ ssh@%:
## it updates COMPOSE_FILE with all .yml files of the current stack
.PHONY: stack
stack:
$(call compose-file)
$(foreach stackz,$(STACK),$(call docker-stack,$(stackz)))
$(call compose-file,$(MYOS_STACK),$(MYOS_STACK_FILE))
# target stack-%: Call docker-compose-% target on STACK
## it splits % on dashes and extracts stack from the beginning and command from