Files

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"