-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
some new gui features and bugfixes
- Loading branch information
Showing
19 changed files
with
568 additions
and
101 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Dockerfile for deploy | ||
FROM python:3.8-alpine | ||
RUN apk update | ||
RUN apk add bash ncurses musl-dev gcc flock openldap-dev | ||
# upgrade pip | ||
RUN pip install --upgrade pip | ||
RUN pip3 install -U pipenv | ||
WORKDIR /app | ||
COPY Pipfile /app/ | ||
# uncomment to append ypur ca cert for TLS connections i.e. LDAPS | ||
#COPY ca.crt /usr/local/share/ca-certificates/ca.crt | ||
#RUN cat /usr/local/share/ca-certificates/ca.crt >> /etc/ssl/certs/ca-certificates.crt | ||
RUN pipenv install |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# compose file for deploy | ||
version: '3.9' | ||
|
||
services: | ||
mlp: | ||
image: drlight17/mta-log-parser:latest | ||
container_name: mta-log-parser | ||
command: /app/run.sh ${COMMAND} | ||
ports: | ||
- ${PORT}:${PORT} | ||
restart: always | ||
volumes: | ||
- ./.env:/app/.env | ||
- /tmp:/tmp | ||
- ${MAIL_LOG_PATH}:${MAIL_LOG_PATH} | ||
depends_on: | ||
- rethinkdb | ||
networks: | ||
- internal | ||
|
||
rethinkdb: | ||
image: rethinkdb:2.4 | ||
container_name: rethinkdb | ||
ports: | ||
- ${RETHINK_EXP_GUI_PORT}:8080 | ||
restart: always | ||
volumes: | ||
- ./:/data | ||
networks: | ||
- internal | ||
|
||
networks: | ||
internal: | ||
driver: bridge | ||
driver_opts: | ||
com.docker.network.enable_ipv6: "false" | ||
com.docker.network.bridge.name: mlp_iface |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,9 +41,18 @@ PORT=8487 | |
# make date time format (default is "HH:mm:ss, DD.MM.YYYY") to use in GUI for emails list timestamps and date picker according to moment.js templates (https://momentjs.com/) | ||
#DATETIME_FORMAT='HH:mm:ss, DD.MM.YYYY' | ||
|
||
# convert related logs timestamp according to the DATETIME_FORMAT. High CPU demanding! false by default | ||
#MAIL_LOG_TIMESTAMP_CONVERT=false | ||
|
||
# set MTA which logs you waunt to parse; available values are exim, postfix (default), sendmail and exchange | ||
#MTA=postfix | ||
|
||
# set email addresses to exclude from top senders stats permanently (comma separated) | ||
#EXCLUDE_FROM_TOP_SENDERS='[email protected],[email protected]' | ||
|
||
# set email addresses to exclude from top recipients stats permanently (comma separated) | ||
#EXCLUDE_FROM_TOP_RECIPIENTS='[email protected],[email protected]' | ||
|
||
# set startup command | ||
# dev to run in python developer mode | ||
# prod to run in production mode (default) | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.