Skip to content

Commit

Permalink
Merge pull request #312 from chrisdicarlo/add-mailpit-service
Browse files Browse the repository at this point in the history
Add Mailpit service
  • Loading branch information
mattstauffer authored Mar 14, 2023
2 parents 8581b00 + 3420b83 commit ae1a81b
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions app/Services/Mailpit.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php

namespace App\Services;

class Mailpit extends BaseService
{
protected static $category = Category::MAIL;

protected $organization = 'axllent';
protected $imageName = 'mailpit';
protected $defaultPort = 1025;
protected $prompts = [
[
'shortname' => 'web_port',
'prompt' => 'What will the web port be [8025]?',
'default' => '8025',
],
];

protected $dockerRunTemplate = '-p "${:port}":1025 \
-p "${:web_port}":8025 \
"${:organization}"/"${:image_name}":"${:tag}"';
}

0 comments on commit ae1a81b

Please sign in to comment.