forked from rtm516/Open-DMARC-Analyzer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
71 lines (68 loc) · 1.49 KB
/
Copy pathdocker-compose.yml
File metadata and controls
71 lines (68 loc) · 1.49 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
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:
- dmarc-maria-db:/var/lib/mysql
environment:
MARIADB_ROOT_PASSWORD: superlongpasswordforroot
MARIADB_DATABASE: dmarc
MARIADB_USER: dmarc
MARIADB_PASSWORD: dmarc
parser:
build:
context: ../open-Report-Parser/
dockerfile: Dockerfile
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: youremailhere@example.com
IMAPPASS: yourpasswordhere
IMAPPORT: 993
IMAPSSL: 1
IMAPDMARCFOLDER: INBOX
IMAPDMARCPROC: INBOX.Processed
IMAPDMARCERR: INBOX.Not Processed
IMAPIGNOREERROR: 1
analyzer:
build:
context: .
dockerfile: Dockerfile
depends_on:
mariadb:
condition: service_healthy
restart: unless-stopped
ports:
- 9080:80
environment:
ALLOW_INSTALL: 1
DB_HOST: mariadb
DB_USER: dmarc
DB_PASS: dmarc
DB_NAME: dmarc
GEO_ENABLE: 0
volumes:
dmarc-maria-db:
name: dlfkhnvlakfhghakjfejalsieu