
Deploy Keila on Your Own Server
Free and open source email newsletter tool.
Want to deploy Keila on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.
What is Keila?
Keila is an open source alternative to newsletter tools like Mailchimp or Sendinblue. With Keila you can easily send out newsletter campaigns and create sign-up forms. For smaller newsletters, you can use your own email inbox to send out campaigns. For larger newsletter projects, AWS SES, Sendgrid, and Mailgun are supported in addition to SMTP.
Self-Host Keila
Follow these steps to deploy on your own server.
Install Docker
Skip this step if Docker is already installed on your server.
curl -fsSL https://get.docker.com | sh
Configure
Customize the settings below. Defaults work for most cases.
Keila
PostgreSQL
Deploy
Copy the configuration and run it on your server.
services:
keila:
image: pentacent/keila:0.12.2
environment:
CAPTCHA_PROVIDER: hcaptcha
CAPTCHA_SECRET_KEY: ""
CAPTCHA_SITE_KEY: ""
CAPTCHA_URL: ""
DB_ENABLE_SSL: "false"
DB_URL: postgres://keila:6abcb92b53c45a04@keila-db/keila
DISABLE_PRECEDENCE_HEADER: "false"
DISABLE_REGISTRATION: "true"
KEILA_PASSWORD: 106a3599123aaad8
KEILA_USER: ""
MAILER_SMTP_HOST: ""
MAILER_SMTP_PASSWORD: ""
MAILER_SMTP_PORT: "587"
MAILER_SMTP_USER: ""
MAILER_TYPE: smtp
PORT: "4000"
SECRET_KEY_BASE: 01b9cd009f99757ce1b7b1b0593a41ce8db5d60b886cc0630ea0f36d905b7ea9ca009760d538f9afc104b08cf444d92f15ba75664868f305e739dd90286b7f70
URL_HOST: keila.your-domain.com
URL_PATH: /
URL_PORT: "80"
URL_SCHEMA: http
volumes:
- keila-upload:/opt/app/uploads
depends_on:
- keila-db
keila-db:
image: postgres:14.5
environment:
POSTGRES_DB: keila
POSTGRES_PASSWORD: 6abcb92b53c45a04
POSTGRES_USER: keila
volumes:
- keila-db:/var/lib/postgresql/data
volumes:
keila-upload: {}
keila-db: {}
Then run:
docker compose up -d
Access
Once started, access your app at http://localhost:80
Why Self-Host Keila?
Full Data Ownership
Your data stays on your servers. No third-party access.
No Monthly Fees
Pay only for your server. No per-seat or usage charges.
Complete Control
Customize, backup, and scale on your own terms.
Privacy & Compliance
Meet GDPR, HIPAA, or internal security requirements.
Technical Details
Docker Image
pentacent/keila:${KEILA_VERSION}Official Docs
www.keila.ioWant to go faster?
Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.
Install on any Linux server:
sh -c "$(curl -sSL https://get.senate.sh)"