📧 Setup Keila — Open-Source Newsletter & Email Marketing
Deploy Keila on Ubuntu with Docker — a privacy-friendly, open-source newsletter tool for building subscriber lists, designing campaigns, and sending on your own terms, on port 8227.
📦 Resources & Setup Scripts
Grab the automated bash script from GitHub to follow along with the video.
Quick Install:
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/email/keila/keila-ubuntu.sh
chmod +x keila-ubuntu.sh
sudo bash keila-ubuntu.sh
Tutorial Steps
1 Download the Script
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/email/keila/keila-ubuntu.sh
2 Make it Executable
chmod +x keila-ubuntu.sh
3 Run the Installer
The script installs Docker if needed and starts Keila with its PostgreSQL database on port 8227. It generates a secret key base and an admin account (admin@example.com) with a random password, and disables open registration.
sudo bash keila-ubuntu.sh
4 Open the Web UI and Log In
Open Keila in your browser and log in with the generated admin@example.com account, then connect your sending (SMTP) and start building your first newsletter:
http://<your-server-ip>:8227
Ports Used
| Port | Purpose |
|---|---|
| 8227 | Web UI (host → container 4000) |
| admin@example.com | Generated password, printed after install — change it |
| PostgreSQL | Internal — holds your subscriber lists and campaigns |