feat: complete ni-mail rewrite with Graph API, IMAP, OTP extractor, Web UI and Docker deployment

This commit is contained in:
juanjuanjuanidea
2026-07-24 13:57:34 +08:00
commit 015a63043d
17 changed files with 4265 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
services:
ni-mail:
build:
context: .
dockerfile: Dockerfile
container_name: ni-mail
restart: unless-stopped
stop_grace_period: 30s
env_file:
- .env
volumes:
- ni-mail-data:/app/data
environment:
- TZ=
ports:
- ":8080"
extra_hosts:
- "host.docker.internal:host-gateway"
mem_limit: 512m
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
read_only: true
tmpfs:
- /tmp:size=64m
volumes:
ni-mail-data: