fix: add plane-createbuckets to init MinIO uploads bucket on fresh deploy
Some checks failed
CI/CD / syntax-check (push) Successful in 1m20s
CI/CD / deploy (push) Has been cancelled

This commit is contained in:
jack 2026-03-27 18:55:13 +07:00
parent 8feff04136
commit 0a85e6fd2d

View file

@ -355,6 +355,25 @@ services:
timeout: 20s timeout: 20s
retries: 3 retries: 3
plane-createbuckets:
image: minio/mc
container_name: plane-createbuckets
restart: "no"
depends_on:
plane-minio:
condition: service_healthy
entrypoint: >
/bin/sh -c "
mc alias set myminio http://plane-minio:9000 plane-minio $${PLANE_MINIO_PASSWORD} &&
mc mb --ignore-existing myminio/uploads &&
mc anonymous set download myminio/uploads;
exit 0;
"
environment:
- PLANE_MINIO_PASSWORD=${PLANE_MINIO_PASSWORD}
networks:
- plane-internal
# ── Forgejo Actions Runner ───────────────────────────────────────────────── # ── Forgejo Actions Runner ─────────────────────────────────────────────────
# backend — для связи с Forgejo по внутренней сети (http://forgejo:3000) # backend — для связи с Forgejo по внутренней сети (http://forgejo:3000)
# runner-jobs — сеть с интернет-доступом для job-контейнеров # runner-jobs — сеть с интернет-доступом для job-контейнеров