docker + hero change
This commit is contained in:
20
docker-compose.yml
Normal file
20
docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user