Ajout d'un restart

This commit is contained in:
Jean-Marie Favreau 2024-08-17 11:51:32 +02:00
parent e9c017b38b
commit 4d4bf65c0c

View File

@ -20,6 +20,7 @@ make build-dev Build and run dev environment
make stop-dev Stop dev environment make stop-dev Stop dev environment
make stop-prod Stop prod environment make stop-prod Stop prod environment
make build-prod Build and run prod environment make build-prod Build and run prod environment
make restar-prod Restart prod environment
make all Show help make all Show help
endef endef
@ -75,6 +76,9 @@ stop-prod:
restart-backend-prod: restart-backend-prod:
docker-compose -f docker-compose.prod.yml restart backend docker-compose -f docker-compose.prod.yml restart backend
prod-restart:
DOCKER_BUILDKIT=1 COMPOSE_DOCKER_CLI_BUILD=1 docker-compose -f docker-compose.prod.yml restart
all: help all: help
.PHONY: help lint format test super-user make-migrations migrate build-dev build-prod stop-dev stop-prod all .PHONY: help lint format test super-user make-migrations migrate build-dev build-prod stop-dev stop-prod all