Ready, set, send! Sendy is prepackaged with Apache and PHP in this Docker image.
Sendy is a self hosted email newsletter application that lets you send trackable emails via Amazon Simple Email Service (SES).
Sendy requires a license to operate.
You can get a license here
docker run --rm --name sendy -e SENDY_FQDN=localhost -e MYSQL_HOST=localhost -e MYSQL_USER=sendy -e MYSQL_PASSWORD=sendypassword -e MYSQL_DATABASE=sendy -d ericmathison/sendy:latest
version: "3.9"
services:
# MySQL Database
sendy-db:
image: ericmathison/mariadb:latest
volumes:
- db-data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: "rootpassword"
MYSQL_DATABASE: "sendy"
MYSQL_USER: "sendy"
MYSQL_PASSWORD: "sendypassword"
# Sendy Webapp
sendy:
image: ericmathison/sendy:latest
depends_on:
- sendy-db
environment:
SENDY_FQDN: "localhost"
MYSQL_HOST: "sendy-db"
MYSQL_USER: "sendy"
MYSQL_PASSWORD: "sendypassword"
MYSQL_DATABASE: "sendy"
SENDY_PROTOCOL: "http"
ports:
- 80:80
volumes:
db-data:
SENDY_FQDN
: The full domain where Sendy will be hosted without http:// or https:// ie. domain.com
MYSQL_HOST
: The address of your MySQL database server
MYSQL_USER
: The user name for the MySQL database
MYSQL_PASSWORD
: The password for the MySQL user
MYSQL_DATABASE
: The name of the MySQL database
SENDY_PROTOCOL
: Specify whether your site is http or https Defaults to https
MYSQL_PORT
: The port to access your MySQL database Defaults to 3306
There are 3 cron jobs currently setup.
Schedule Campaigns
- Checks to see if there are any campaigns to send out. Runs every 5 minutesAutoresponders
- Checks to see if it's time to send any drip emails Runs every minuteCSV Imports
- Checks to see if there are any csv lists to import Runs every minute
This repo is configured to automatically build this Docker image and upload it to your Docker Hub account.
- To setup this action, you need to set the following environment secrets in your repo:
DOCKERHUB_USERNAME
- this is your Docker Hub usernameDOCKERHUB_TOKEN
- this is your Docker Hub API key
- You need to update the tags for the build in
/.github/workflows/deploy.yml
on line 26.