92d67369e9
Agent-Logs-Url: https://github.com/christianlouis/pop_puller_to_gmail/sessions/82f2f361-3513-44e6-991b-db1a19902772 Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
27 lines
832 B
YAML
27 lines
832 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
inboxconverge:
|
|
# Option 1: Build from source (default)
|
|
build: .
|
|
# Option 2: Use pre-built image from GitHub Container Registry
|
|
# Uncomment the line below and comment out 'build: .' to use pre-built image
|
|
# image: ghcr.io/christianlouis/inboxconverge:latest
|
|
container_name: inboxconverge
|
|
restart: unless-stopped
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
- LOG_LEVEL=${LOG_LEVEL:-INFO}
|
|
- CHECK_INTERVAL_MINUTES=${CHECK_INTERVAL_MINUTES:-5}
|
|
- MAX_EMAILS_PER_RUN=${MAX_EMAILS_PER_RUN:-50}
|
|
- THROTTLE_EMAILS_PER_MINUTE=${THROTTLE_EMAILS_PER_MINUTE:-10}
|
|
volumes:
|
|
# Optional: mount for logs if you want persistent logging
|
|
- ./logs:/app/logs
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3"
|