Merge pull request #6 from smpita/master

Cleanup
This commit is contained in:
Robert Schumann 2019-01-04 22:05:09 +01:00 committed by GitHub
commit fae9ae5a08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View File

@ -31,8 +31,6 @@ dmarc-report:
hostname: dmarc-report
container_name: dmarc-report
environment:
- "TEMPLATE_NGINX_HTML=1"
- "TEMPLATE_PERL_CONF=1"
- "REPORT_DB_HOST=mysql"
- "REPORT_DB_NAME=dmarc_report"
- "REPORT_DB_USER=dmarc_report"
@ -44,3 +42,10 @@ dmarc-report:
- "PARSER_IMAP_MOVE_FOLDER=processed"
```
## Optional extended configuration
Use SSL instead of default TLS. Set both to 0 to turn off encryption. (not recommended)
```
- "PARSER_IMAP_SSL=1"
- "PARSER_IMAP_TLS=0"
```

View File

@ -1,3 +1,5 @@
#!/usr/bin/env bash
# Display PHP error's or not
if [[ "$ERRORS" != "1" ]] ; then
sed -i -e "s/error_reporting =.*=/error_reporting = E_ALL/g" /usr/etc/php.ini