docker + hero change

This commit is contained in:
2026-06-13 15:41:15 -05:00
parent 45422753a3
commit 546d6fbba3
5 changed files with 83 additions and 3 deletions

20
docker-compose.yml Normal file
View File

@@ -0,0 +1,20 @@
# docker compose up -d --build
#
# The host already runs Caddy as a reverse proxy. Caddy forwards requests
# to host.docker.internal:3000 (or localhost:3000 from the host side).
# On Linux, if host.docker.internal does not resolve inside the container,
# uncomment the extra_hosts line below so Caddy can reference it.
#
# 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: .
ports:
- "3000:3000"
env_file:
- .env
restart: unless-stopped