complete change to email instead of FTP

This commit is contained in:
2025-11-11 20:39:49 -06:00
parent 38a9fb2789
commit 5ae4104e24
15 changed files with 242 additions and 947 deletions

29
docker-compose.yaml Normal file
View 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}