Files
E-Mail-Webseite-Marketing/docker-compose.yml
2026-06-16 11:33:19 -05:00

28 lines
795 B
YAML

# docker compose up -d --build
#
# The host runs Caddy as a reverse proxy in its own compose project.
# Caddy forwards requests for email-cc.com to this container by name:
# reverse_proxy email-cc-web:3000
# For that to resolve, Caddy and this container must share a Docker network.
# The network "email-cc" is created by the Caddy compose project and joined
# here as external.
#
# Prerequisites: a .env file in the project directory with:
# SES_SMTP_USER=
# SES_SMTP_PASS= (SMTP credentials, not IAM access keys)
# SES_FROM_EMAIL= (must be an SES-verified identity)
services:
web:
build: .
container_name: email-cc-web
env_file:
- .env
restart: unless-stopped
networks:
- email-cc
networks:
email-cc:
external: true
name: email-cc