feat(php): make restart

This commit is contained in:
sshakndr
2024-02-20 17:26:40 +07:00
parent f154ffc981
commit 96af86846b

View File

@ -61,6 +61,12 @@ compose-prod: # Up containers in a production environment.
@docker-compose build
@docker-compose up --detach
.PHONY: restart
restart: # Restart containers replacing volume files.
@docker-compose rm --stop --force proxy example
@docker volume rm php_example
@docker compose up --detach --build
.PHONY: lint
lint: # Lint the source code for the style.
@./vendor/bin/phpcs src index.php