From 484e58adad1cad26face1c9ca12e6e59d52b6a75 Mon Sep 17 00:00:00 2001 From: Josh Date: Thu, 12 Jun 2025 14:27:51 +0000 Subject: [PATCH] Update README.md --- README.md | 41 +++++++++++------------------------------ 1 file changed, 11 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index b390caf..e1f1070 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@
-

Install Caddy with packages (xcaddy) inside Docker Desktop

+

Install Stalwart Mail Server and protect it with HAProxy (and Caddy)


@@ -33,10 +33,15 @@ - [Prerequisite](#prerequisite) - [Install](#install) - [Configuring docker-compose.yml file](#configuring-docker-composeyml-file) - - [Configuring .env file](#configuring-env-file) - - [Configuring dockerfile.caddy file](#configuring-dockerfilecaddy-file) + - [Configuring stalwart.yml file](#configuring-stalwartyml-file) + - [Configuring roundcube.yml file](#configuring-roundcubeyml-file) + - [Stalwart UI First Logon and Configuration](#stalwart-ui-first-logon-and-configuration) - [Configuring Caddyfile](#configuring-caddyfile) -- [Execute and finish](#execute-and-finish) + - [Configuring haproxy.cfg file](#configuring-haproxycfg-file) + - [Configuring Stalwarts TOML file](#configuring-stalwart-toml-file) + - [Stalwart UI SSL and Domain Configuration](#stalwart-ui-ssl-and-domain-configuration) + - [Testing Mail Flow](#testint-mail-flow) +- [Finish](#finish)
@@ -44,7 +49,7 @@ # Prerequisite -- **Here are all the things you need to make sure you have before starting this tutorial.** +**Here are all the things you need to make sure you have before starting this tutorial.** - **1. You should already have Caddy installed and fully working.** @@ -126,12 +131,6 @@ * **This is the dockerfile.caddy file that your docker-compose.yml file will use to create your custom Caddy image.** -* **Inside this file, we're going to give it some commands to create the image from caddy:builder, include some GitHub packages, attach them to the caddy:latest.** - -* **And then once it's built, copy it to a specific directory** - -* **When you launch the docker-compose.yml file, it will trigger this file to build your custom image automatically.** -

@@ -150,14 +149,6 @@ * **This is the Caddyfile. This file tells Caddy what and how to do things.** -* **Inside of the Caddyfile, I've organized it into three sections. Global, Snippets, and Sites.** - -* **In the Global section, you're going to specify some default parameters .** - -* **In the Snippets section, you're going to be creating variables and functions that you can import into your websites.** - -* **Under the Site section, you will list your websites as well as commands for Caddy to perform on your website.** -

@@ -170,20 +161,10 @@
-# Execute and finish +# Finish **Once you have all of the files customized to your liking and all four of them are sitting in the same directory, you'll be ready to launch the yml file.** -**You can do this by right-clicking in an empty space in the folder where all your files are located and selecting 'Open in Terminal'.** - -**That opens a Powershell window inside that direcotry where you can enter this code to launch everything.** - -```ps1 -docker-compose up -d -``` - -**And that's it! Caddy should be live ina Docker container and actively acting as a reverse proxy!** -

Support the channel so I can make more tutorials!