Add ip bindings to .env and Add stalwart-cli install script
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user