Add ip bindings to .env and Add stalwart-cli install script

This commit is contained in:
2026-09-14 20:51:29 +03:00
parent 1cd38af60e
commit 4c1fcc6d6f
7 changed files with 96 additions and 4 deletions
+46
View File
@@ -2,6 +2,52 @@
These scripts support the EternityMail Docker Compose deployment. Run them from the repository root.
## `install-stalwart-cli.sh`
Installs the latest official `stalwart-cli` release on Linux. The upstream installer places the binary in the system executable path, normally `/usr/local/bin`.
Requirements:
- Linux
- `curl`
- `sudo`, unless the script is run as root
Usage:
```bash
chmod +x scripts/install-stalwart-cli.sh
./scripts/install-stalwart-cli.sh
```
Verify the installation with:
```bash
stalwart-cli --version
```
## `install-stalwart-cli.ps1`
Installs the latest official `stalwart-cli` release on Windows using the upstream PowerShell installer. The official installer uses a user-local executable directory and updates the user PATH.
Requirements:
- Windows PowerShell 5.1 or PowerShell 7+
- Internet access to GitHub Releases
Usage from PowerShell:
```powershell
.\scripts\install-stalwart-cli.ps1
```
Open a new terminal if the current shell cannot find the command, then verify it:
```powershell
stalwart-cli --version
```
The scripts always download the current release from the official Stalwart CLI GitHub repository. Review the upstream release and installer before using them in a restricted or audited environment.
## `generate-des-key.sh`
Generates a random 24-character alphanumeric value for Roundcube's `RC_DES_KEY` setting.