Docker

Run EmailEngine as a Docker container

Docker Hub

Pull EmailEngine from Docker Hub:

$ docker pull andris9/emailengine:v2

To provide configuration options for EmailEngine you can use environment variables. The following example sets up Redis connection URL and bounds port 3000:

$ docker run -p 3000:3000 --env EENGINE_REDIS="redis://host.docker.internal:6379/7" andris9/emailengine:v2

Next, open http://127.0.0.1:3000 in your browser.

Docker Compose

Download the example Compose file and add or edit included configuration values. Most probably, you want to remove the example webhook destination settings.

Next, start the app. The Compose file already includes a basic Redis setup, so you do not have to install or configure Redis separately.

$ docker-compose up

Open http://127.0.0.1:3000 in your browser to see the UI.

Unsupported platform?

  1. Download the source code of the latest EmailEngine release.
  2. Edit Dockerfile in the root folder of the project; for example, change the base image node:lts-alpine to arm32v7/node:lts-alpine if you want to run EmailEngine on a Raspberry Pi (find the complete list of available base images here).
  3. Run a Docker build
$ docker build -t emailengine .
  1. Run the container
    $ docker run -p 3000:3000 --env EENGINE_REDIS="redis://host.docker.internal:6379/7" emailengine