Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions deploy/azure/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Deploy Dispatch to Azure

One-click deploy of Dispatch (the open-source SMTP relay) onto a single Ubuntu 24.04 VM. The template
provisions the VM + networking and, on first boot, runs the official `install.sh`, which
installs **PostgreSQL** and Dispatch as a systemd service with a self-signed dashboard certificate.
provisions the VM + networking and, on first boot, runs the official `install.sh`, which installs
Dispatch (using its bundled SQLite database - no database server to install) as a systemd service with a
self-signed dashboard certificate.

[![Deploy to Azure](https://aka.ms/deploytoazurebutton)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FCinderHillsDev%2Fdispatch-platform%2Fmain%2Fdeploy%2Fazure%2Fazuredeploy.json/createUIDefinitionUri/https%3A%2F%2Fraw.githubusercontent.com%2FCinderHillsDev%2Fdispatch-platform%2Fmain%2Fdeploy%2Fazure%2FcreateUiDefinition.json)

Expand Down Expand Up @@ -33,7 +34,7 @@ if your apps send from outside the VNet and you accept the risk.
| `adminPasswordOrKey` | - | Your SSH **public key** (or the admin password if you chose `password`). |
| `dispatchAdminPassword` | - | Dashboard admin password - you log in with this at `https://<host>:8420`. |
| `vmSize` | `Standard_B2s` | 2 vCPU / 4 GB is a fine starting point. |
| `dispatchVersion` | `0.7.0` | The [release](https://github.com/CinderHillsDev/dispatch-platform/releases) to install. |
| `dispatchVersion` | `0.7.1` | The [release](https://github.com/CinderHillsDev/dispatch-platform/releases) to install. |
| `submissionSource` | `VirtualNetwork` | Who may reach the SMTP/API submission ports. VNet-only by default (not internet-exposed); set to a CIDR or `Internet` to widen. |
| `vnetNewOrExisting` | `new` | `new` creates a VNet; `existing` deploys the VM into a VNet you already have. |
| `vnetName` | `<vmName>-vnet` | New VNet's name, or the name of your existing VNet. |
Expand Down
4 changes: 2 additions & 2 deletions deploy/azure/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"metadata": {
"description": "Deploys Dispatch (open-source SMTP relay) on a single Ubuntu 24.04 VM. cloud-init runs the official install.sh, which installs PostgreSQL and Dispatch as a systemd service. Open source, Apache-2.0."
"description": "Deploys Dispatch (open-source SMTP relay) on a single Ubuntu 24.04 VM. cloud-init runs the official install.sh, which installs Dispatch (bundled SQLite - no database server) as a systemd service. Open source, Apache-2.0."
},
"parameters": {
"vmName": {
Expand Down Expand Up @@ -36,7 +36,7 @@
},
"dispatchVersion": {
"type": "string",
"defaultValue": "0.7.0",
"defaultValue": "0.7.1",
"metadata": { "description": "Dispatch release version to install (matches a GitHub release tag without the leading 'v')." }
},
"submissionSource": {
Expand Down
4 changes: 2 additions & 2 deletions deploy/azure/createUiDefinition.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@
"name": "dispatchVersion",
"type": "Microsoft.Common.TextBox",
"label": "Dispatch version",
"defaultValue": "0.7.0",
"defaultValue": "0.7.1",
"toolTip": "Release version to install (a GitHub release tag without the leading 'v').",
"constraints": { "required": true, "regex": "^[0-9]+\\.[0-9]+\\.[0-9]+$", "validationMessage": "Use a semantic version like 0.7.0." }
"constraints": { "required": true, "regex": "^[0-9]+\\.[0-9]+\\.[0-9]+$", "validationMessage": "Use a semantic version like 0.7.1." }
}
]
},
Expand Down
Loading