Skip to content

Commit

Permalink
Merge pull request #24 from gen-mind/develop
Browse files Browse the repository at this point in the history
fix env
  • Loading branch information
apaladiychuk authored Apr 15, 2024
2 parents b2c51d1 + 1d9f0a5 commit 1762aec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions backend/core/storage/minio.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ type (
Endpoint string `env:"MINIO_ENDPOINT"`
UseSSL bool `env:"MINIO_USE_SSL"`
BucketName string `env:"MINIO_BUCKET_NAME"`
Region string `env:"MINIO_REGION,required"`
Mocked bool `env:"MINIO_MOCKED" default:"false"`
Region string `env:"MINIO_REGION"`
Mocked bool `env:"MINIO_MOCKED" envDefault:"true"`
}
MinIOClient interface {
Upload(ctx context.Context, filename, contentType string, reader io.Reader) (string, string, error)
Expand Down
2 changes: 1 addition & 1 deletion config/minio.env
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MINIO_ACCESS_KEY=""
MINIO_SECRET_ACCESS_KEY=""
MINIO_ENDPOINT="minio:9000"
MINIO_ENDPOINT=""
MINIO_USE_SSL=false
MINIO_BUCKET_NAME=""
MINIO_REGION=""
Expand Down

0 comments on commit 1762aec

Please sign in to comment.