complete change to email instead of FTP
This commit is contained in:
29
docker-compose.yaml
Normal file
29
docker-compose.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
services:
|
||||
mailpit:
|
||||
image: axllent/mailpit:latest
|
||||
container_name: mailpit
|
||||
restart: always
|
||||
ports:
|
||||
- "1025:1025" # SMTP
|
||||
- "8025:8025" # Web UI / API
|
||||
environment:
|
||||
MP_SMTP_AUTH: "${MP_SMTP_AUTH}" # <-- exact user:pass
|
||||
MP_SMTP_AUTH_ALLOW_INSECURE: "true" # on plaintext right now
|
||||
MP_WEBHOOK_URL: ${MP_WEBHOOK_URL}
|
||||
MP_DATABASE: /data/mailpit.db
|
||||
MP_MAX_MESSAGES: 50 # optional
|
||||
MP_PURGE_AFTER: 168h # optional, auto-purge older than 7 days
|
||||
volumes:
|
||||
- ./mailpit-data:/data
|
||||
|
||||
sneaky_mon_webhook:
|
||||
build: .
|
||||
command: python webhook.py
|
||||
container_name: sneaky_app
|
||||
restart: always
|
||||
ports:
|
||||
- "8088:8088"
|
||||
environment:
|
||||
GOTIFY_URL: ${GOTIFY_URL}
|
||||
GOTIFY_TOKEN: ${GOTIFY_TOKEN}
|
||||
MAILPIT_API: ${MAILPIT_API}
|
||||
Reference in New Issue
Block a user