Private
Public Access
chg: pkg: add a process that removes the unnecessary minio-init when it does not needed anymore #14
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# MinIO Initialization
|
||||
|
||||
The `minio_init` Compose service creates the `mineseeker` bucket and applies
|
||||
its public read policy. It is an idempotent bootstrap task: after the bucket
|
||||
exists, it exits without changing it.
|
||||
|
||||
It belongs to the `bootstrap` Compose profile, so normal `docker compose up`
|
||||
does not create a stopped `mineseeker-minio-init` container.
|
||||
|
||||
`make start`, `make start-build`, and the production deployment workflow run
|
||||
the bootstrap task automatically with `docker compose run --rm minio_init`.
|
||||
They also remove any stopped legacy initializer container first. The temporary
|
||||
container is removed as soon as the task succeeds.
|
||||
|
||||
To run it manually when needed:
|
||||
|
||||
```bash
|
||||
docker compose run --rm minio_init
|
||||
```
|
||||
@@ -60,6 +60,9 @@ Quick command reference for testing:
|
||||
### [Scheduled Tasks](./SCHEDULER.md)
|
||||
Symfony Scheduler tasks and the Docker worker that runs them.
|
||||
|
||||
### [MinIO Initialization](./MINIO_INITIALIZATION.md)
|
||||
Automatic, one-shot setup of the MinIO bucket and its access policy.
|
||||
|
||||
### [CI/CD Integration Guide](./CI_CD.md)
|
||||
Comprehensive guide for continuous integration and deployment:
|
||||
- Gitea Actions workflows (CI and CD pipelines)
|
||||
|
||||
Reference in New Issue
Block a user