Files
Martinhal-Birthday-Mailing-App/OLD_VERSIONS/v1.1/birthday-app/docker-compose.yml
T

31 lines
1.0 KiB
YAML
Raw Normal View History

2026-09-13 20:15:10 +01:00
services:
birthday-manager:
build: .
container_name: birthday-manager
restart: unless-stopped
ports:
- "8080:8080"
volumes:
- ./data:/data
environment:
# --- Purelymail account (fill in your mailbox credentials) ---
SMTP_USER: "you@yourdomain.com"
SMTP_PASS: "your-purelymail-password"
SMTP_FROM: "you@yourdomain.com"
# --- Outgoing mail (pre-configured for Purelymail, SSL/TLS) ---
SMTP_HOST: "smtp.purelymail.com"
SMTP_PORT: "465"
SMTP_SECURITY: "ssl" # if your network only allows STARTTLS: port 587 + "starttls"
# --- Incoming mail / Sent-folder copy (pre-configured for Purelymail) ---
IMAP_HOST: "imap.purelymail.com"
IMAP_PORT: "993" # SSL/TLS
# IMAP_USER / IMAP_PASS default to the SMTP credentials above
IMAP_SENT_FOLDER: "Sent"
# --- optional ---
SEND_HOUR: "8" # hour of day (0-23) automatic e-mails go out
SECRET_KEY: "change-this-to-a-long-random-string"
TZ: "Europe/Lisbon"