.PHONY: up down build logs init shell worker

up:
	docker compose up -d

down:
	docker compose down

build:
	docker compose build --no-cache

logs:
	docker compose logs -f --tail=200

init:
	docker compose up -d db
	docker compose run --rm php bash /var/www/docker/scripts/init-db.sh

shell:
	docker compose exec php sh

worker:
	docker compose logs -f --tail=200 worker
