21 lines
638 B
YAML
21 lines
638 B
YAML
# 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
|