Created
December 3, 2019 14:46
-
-
Save lgg42/beb480303824e5b90f23bfbddc89ec9d to your computer and use it in GitHub Desktop.
Complete dockerized solution for docker-dmarc-report (dmarcts-report-viewer) with gmail
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2.2' | |
services: | |
mysql: | |
image: mysql:latest | |
command: --default-authentication-plugin=mysql_native_password | |
container_name: mysql | |
hostname: mysql | |
environment: | |
- "MYSQL_DATABASE=dmarc_report" | |
- "MYSQL_USER=dmarc_report" | |
- "MYSQL_PASSWORD=foobar" | |
- "MYSQL_RANDOM_ROOT_PASSWORD=yes" | |
ports: | |
- 3306:3306 | |
dmarc-report: | |
image: "gutmensch/dmarc-report:latest" | |
container_name: dmarc-report | |
hostname: dmarc-report | |
environment: | |
- "REPORT_DB_HOST=mysql" | |
- "REPORT_DB_NAME=dmarc_report" | |
- "REPORT_DB_USER=dmarc_report" | |
- "REPORT_DB_PASS=foobar" | |
- "PARSER_IMAP_SERVER_WITH_PORT=imap.gmail.com:993" | |
- "[email protected]" | |
- "PARSER_IMAP_PASS=gmailpassword" | |
- "PARSER_IMAP_READ_FOLDER=Inbox" | |
- "PARSER_IMAP_MOVE_FOLDER=processed" | |
- "PARSER_IMAP_SSL=1" | |
- "PARSER_IMAP_TLS=0" | |
- "ERRORS=1" | |
ports: | |
- 8680:80 | |
# Notes | |
# | |
# * Access UI at http://localhost:8680 | |
# | |
# * You must first wait for the first report to be processed before opening the UI otherwise you'll | |
# encounter error "Table 'dmarc.report' doesn't exist" (https://github.com/gutmensch/docker-dmarc-report/issues/1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment