Initial commit: Multi-account IMAP sync with OAuth2 support
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
# ============================================================
|
||||
# Email Sync OAuth2 - Docker Compose
|
||||
# ============================================================
|
||||
# Multi-account IMAP sync with OAuth2 support for
|
||||
# Office 365, Hotmail, Outlook.com, and Gmail.
|
||||
# ============================================================
|
||||
|
||||
services:
|
||||
imapsync:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: email-sync-oauth2
|
||||
restart: unless-stopped
|
||||
# Pass every ACCOUNT_N_* entry from .env, not only accounts 1 and 2.
|
||||
env_file:
|
||||
- path: .env
|
||||
required: false
|
||||
volumes:
|
||||
- ./tokens:${TOKEN_DIR:-/tokens}
|
||||
- ./logs:${LOG_DIR:-/var/log/imapsync}
|
||||
# Healthcheck is defined in Dockerfile
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
Reference in New Issue
Block a user