Run EmailEngine as a Docker container
Pull EmailEngine from Docker Hub:
$ docker pull postalsys/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" postalsys/emailengine:v2
Next, open http://127.0.0.1:3000 in your browser.
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.
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).$ docker build -t emailengine .
$ docker run -p 3000:3000 --env EENGINE_REDIS="redis://host.docker.internal:6379/7" emailengine