[feat] Add an imap watcher for emails. (#4536)
[feat] Add an imap watcher for emails.
This commit is contained in:
10
self-hosting/docker-compose/mail/imap-parser/.env.imap
Normal file
10
self-hosting/docker-compose/mail/imap-parser/.env.imap
Normal file
@ -0,0 +1,10 @@
|
||||
#MAIL
|
||||
WATCHER_API_KEY=mail-api-key
|
||||
WATCHER_API_ENDPOINT=https://omnivore-watch.omnivore.tld
|
||||
IMAP_HOST=imap.gmail.com
|
||||
IMAP_PORT=993
|
||||
IMAP_USER=email@address.com
|
||||
IMAP_PASSWORD=password
|
||||
OMNIVORE_EMAIL=uuid@omnivore.tld
|
||||
WAIT_TIME=600000
|
||||
|
||||
@ -0,0 +1,8 @@
|
||||
services:
|
||||
imap-watcher:
|
||||
build:
|
||||
context: ../../../../
|
||||
dockerfile: ./packages/imap-mail-watcher/Dockerfile
|
||||
container_name: "omnivore-imap-watch"
|
||||
env_file:
|
||||
- .env.imap
|
||||
@ -50,7 +50,7 @@ services:
|
||||
"
|
||||
watcher:
|
||||
build:
|
||||
context: ../../../
|
||||
context: ../../../../
|
||||
dockerfile: ./packages/local-mail-watcher/Dockerfile-watcher
|
||||
container_name: "omnivore-mail-watch"
|
||||
volumes:
|
||||
Reference in New Issue
Block a user