Skip to content

Commit

Permalink
Merge pull request #101 from therobfonz/bugfix/minio
Browse files Browse the repository at this point in the history
Fix Minio run command
  • Loading branch information
mattstauffer authored Sep 8, 2020
2 parents 936ae2c + e208acb commit 5ff13fc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/Services/Minio.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

class Minio extends BaseService
{
protected $organization = 'minio';
protected $imageName = 'minio';
protected $defaultPort = 9000;
protected $prompts = [
Expand All @@ -15,18 +16,18 @@ class Minio extends BaseService
[
'shortname' => 'access_key',
'prompt' => 'What will the access key for Minio be?',
'default' => 'minio',
'default' => 'minioadmin',
],
[
'shortname' => 'secret_key',
'prompt' => 'What will the secret key for Minio be?',
'default' => 'minio',
'default' => 'minioadmin',
],
];

protected $dockerRunTemplate = '-p "$port":9000 \
-e MINIO_ACCESS_KEY=$access_key
-e MINIO_SECRET_KEY=$secret_key
-v "$volume":/data \
"$organization"/"$image_name":"$tag"';
"$organization"/"$image_name":"$tag" server /data';
}

0 comments on commit 5ff13fc

Please # to comment.