forked from rtm516/Open-DMARC-Analyzer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
53 lines (53 loc) · 1.32 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: "3.8"
services:
mariadb:
image: mariadb:latest
restart: unless-stopped
healthcheck:
test: [ "CMD", "healthcheck.sh", "--su-mysql", "--connect", "--innodb_initialized" ]
interval: 10s
timeout: 5s
retries: 5
volumes:
- /opt/dmarc/mysql/:/var/lib/mysql
environment:
MARIADB_ROOT_PASSWORD: superlongpasswordforroot
MARIADB_DATABASE: dmarc
MARIADB_USER: dmarc
MARIADB_PASSWORD: dmarc
parser:
image: ghcr.io/kankerdev/dmarc-report-parser:latest
depends_on:
mariadb:
condition: service_healthy
restart: unless-stopped
tty: true
environment:
DBHOST: mariadb
DBUSER: dmarc
DBPASS: dmarc
DBNAME: dmarc
IMAPAUTH: simple
IMAPSERVER: email.example.com
IMAPUSER: [email protected]
IMAPPASS: yourpasswordhere
IMAPPORT: 993
IMAPSSL: 1
IMAPDMARCFOLDER: INBOX
IMAPDMARCPROC: INBOX/Processed
IMAPDMARCERR: INBOX/Not Processed
IMAPIGNOREERROR: 1
analyzer:
image: ghcr.io/kankerdev/dmarc-report-analyzer:latest
depends_on:
mariadb:
condition: service_healthy
restart: unless-stopped
ports:
- 8080:80
environment:
DB_HOST: mariadb
DB_USER: dmarc
DB_PASS: dmarc
DB_NAME: dmarc
GEO_ENABLE: 0