Run EmailEngine as a Docker container
Pull EmailEngine from Docker Hub
To get started, pull the EmailEngine image from Docker Hub:
$ docker pull postalsys/emailengine:v2
EmailEngine is also available from the GitHub Container Registry.
You can configure EmailEngine by setting environment variables. In the example below, we set up the Redis connection URL and bind port 3000:
$ docker run -p 3000:3000 --env EENGINE_REDIS="redis://host.docker.internal:6379/7" postalsys/emailengine:v2
For more configuration options, visit the configuration documentation.
Access EmailEngine in Your Browser
After running the command above, open the following URL in your browser: http://127.0.0.1:3000.
The EmailEngine Docker images support multiple architectures, so you can easily run them on Apple processors as well.
EmailEngine offers various tag types for its Docker images:
latest: Corresponds to the most recent commit in the master branch. While it includes the latest features, it might be unstable.
v2: Represents the latest tagged release for the v2 branch.
v2.x.x: Refers to a specific tagged release.
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.
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