Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed Sep 17, 2024
1 parent 297fe6e commit 41e1d91
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion web/Modules/Email/App/Console/SetupDockerEmailServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,24 @@ public function handle()
$dockerComposeYaml = file_get_contents($moduleServerConfigTemplatesPath . 'docker-compose.yaml');
$dockerComposeYaml = Blade::render($dockerComposeYaml, [
'containerName' => 'phyre-mail-server',
'hostName'=> 'mail.server11.microweber.me',
'hostName'=> 'mail.allsidepixels.com',
'workPath' => $workPath,
]);
shell_exec('mkdir -p ' . $workPath);
file_put_contents($workPath . '/docker-compose.yaml', $dockerComposeYaml);

// dd(shell_exec('docker-compose -f ' . $workPath . '/docker-compose.yaml up -d'));

// after compose you must create the email account

//docker exec -ti ba139fb8b106 setup email add bobi@server11.microweber.me passwd123

// docker exec -it ba139fb8b106 setup config dkim


//ufw allow 25
//ufw allow 587
//ufw allow 465

dd($dockerComposeYaml);

Expand Down

0 comments on commit 41e1d91

Please sign in to comment.