Skip to content

Create default buckets via environment variables in docker #4769

Closed
@christopherobin

Description

@christopherobin

I am using minio mainly has a throwaway cache for GitLab CI runners, the container is living as a docker service in a swarm cluster and may at any point be restarted on another machine, since it is used only as a cache setting up distributed storage for persistence seems overkill.

The issue I'm running in is that on restart my bucket will be gone, preventing new CI jobs from creating cache entry, it would be nice to have a new environment variable like MINIO_DEFAULT_BUCKETS that would create the folders/buckets when the container start.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions