chg: pkg: add a process that removes the unnecessary minio-init when it does not needed anymore #14

This commit is contained in:
2026-07-27 18:09:33 +02:00
parent 9ea83d7e6e
commit 1a97c2c4b4
6 changed files with 40 additions and 4 deletions
+8 -2
View File
@@ -4,8 +4,8 @@
help:
@echo "Available commands:"
@echo " make start - Start services without building (uses existing images)"
@echo " make start-build - Start services and build images if needed"
@echo " make start - Start services and initialize MinIO (uses existing images)"
@echo " make start-build - Build, start services, and initialize MinIO"
@echo " make stop - Stop running services"
@echo " make build - Build Docker images only"
@echo " make down - Stop and remove containers/networks"
@@ -19,11 +19,17 @@ help:
@echo " make test - Run PHPUnit tests"
start:
docker compose up -d minio
docker compose rm -sf minio_init
docker compose run --rm minio_init
docker compose up -d
start-build:
composer i
bun run build
docker compose up -d --build minio
docker compose rm -sf minio_init
docker compose run --rm minio_init
docker compose up -d --build
stop: