complete change to email instead of FTP
This commit is contained in:
21
README.md
21
README.md
@@ -1,12 +1,23 @@
|
||||
# Sneaky Mon
|
||||
Because I need to monitor for file changes in a dir
|
||||
Because I need a simple mail server to forward emails to my gotify server
|
||||
|
||||
## Settings
|
||||
Settings are loaded from app/config/settings.yaml. You can define any dict here you want, then update `utils/settings.py` with the class to match your new definition. You can set defaults for any key and they will be used.
|
||||
Everything is in the .env
|
||||
Just copy .env.sample and modify as needed.
|
||||
|
||||
Security isn't really enabled here as it's all internal, on a vlan that is entirely locked down, no egress to the internet or anything.
|
||||
If you really want to enable TLS and all that jazz, you can.
|
||||
|
||||
## .env setup
|
||||
```
|
||||
GOTIFY_URL=https://gotify.sneakygeek.net
|
||||
GOTIFY_TOKEN=<GOTIFY TOKEN>
|
||||
DIR_TO_WATCH=/var/ftp/events
|
||||
LOG_LEVEL=INFO
|
||||
|
||||
# MAILPIT VARS
|
||||
MP_SMTP_AUTH=email@example.com:supersecretpassword
|
||||
MP_WEBHOOK_URL=http://sneaky_mon_webhook:8088/hook
|
||||
|
||||
# SNEAKYMON VARS
|
||||
GOTIFY_URL=https://yourgotify.server.com
|
||||
GOTIFY_TOKEN=YourTokenForGotify
|
||||
MAILPIT_API=http://mailpit:8025 # <-- this points to above, it can even be the IP if you want.
|
||||
```
|
||||
Reference in New Issue
Block a user