forked from postalsys/emailengine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
38 lines (35 loc) · 1.31 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: '3.7'
services:
emailengine:
restart: always
image: andris9/emailengine:v2
ports:
# API and web interface
- '3000:3000'
# SMTP for message submission
- '2525:2525'
depends_on:
- redis
environment:
# Configuration to EmailEngine can be passed via environment variables
# For full list see https://github.com/postalsys/emailengine#config-mapping
# Settings to write to v1/settings on startup (https://api.emailengine.app/#operation/postV1Settings)
# The following value is a YAML block scalar string, so make it sure it is properly indented
# This configuration enables SMTP server for local submission
EENGINE_SETTINGS: >
{
"smtpServerEnabled": true,
"smtpServerPort": 2525,
"smtpServerHost": "0.0.0.0",
"smtpServerAuthEnabled": true,
"smtpServerPassword": "passw0rd"
}
# Encryption secret
EENGINE_SECRET: 'secret'
# Database connection URL
EENGINE_REDIS: 'redis://redis:6379/2'
redis:
image: redis:alpine
restart: always
volumes:
- /data