Unified email reports

This commit is contained in:
Frank John Begornia
2026-01-02 01:19:07 +08:00
parent 2e1ad5526c
commit d0d82aa8e1
229 changed files with 7374 additions and 812 deletions

46
docker-compose.yml Normal file
View File

@@ -0,0 +1,46 @@
version: '3.8'
services:
email-reports:
build: .
container_name: email_reports_unified
restart: unless-stopped
environment:
- TZ=America/Chicago
# Crew Sportswear Database
- DB_HOST_CREW=${DB_HOST_CREW:-mysql}
- DB_PORT_CREW=${DB_PORT_CREW:-3306}
- DB_NAME_CREW=${DB_NAME_CREW:-custom_design}
- DB_USER_CREW=${DB_USER_CREW:-crew_user}
- DB_PASS_CREW=${DB_PASS_CREW}
# MerchBay Database
- DB_HOST_MERCHBAY=${DB_HOST_MERCHBAY:-mysql}
- DB_PORT_MERCHBAY=${DB_PORT_MERCHBAY:-3306}
- DB_NAME_MERCHBAY=${DB_NAME_MERCHBAY:-merchbay_laravel}
- DB_USER_MERCHBAY=${DB_USER_MERCHBAY:-merchbay_user}
- DB_PASS_MERCHBAY=${DB_PASS_MERCHBAY}
# SMTP Configuration (shared)
- SMTP_HOST=${SMTP_HOST:-smtp.gmail.com}
- SMTP_PORT=${SMTP_PORT:-587}
# Crew SMTP
- SMTP_PASS_CREW=${SMTP_PASS_CREW}
# MerchBay SMTP
- SMTP_PASS_MERCHBAY=${SMTP_PASS_MERCHBAY}
volumes:
- ./daily_order_reports_crew:/app/daily_order_reports_crew
- ./daily_order_reports_merchbay:/app/daily_order_reports_merchbay
- ./email.log:/app/email.log
networks:
- crew-app-net
labels:
- "description=Unified Email Reports for Crew & MerchBay"
networks:
crew-app-net:
external: true