Sites per domain with two skins (PhotoReport, ShootYourMove) in apps/site (Next.js); public, unlisted and private galleries with watermarked photos; products, cart, orders with VIES reverse charge; the organization's own Stripe Checkout and signed webhooks; bought files rendered from the original with edits and IPTC, emailed; Vendas module in the app. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
15 lines
463 B
JavaScript
15 lines
463 B
JavaScript
// Public sites (apps/site, Next.js): one process serves every brand domain behind the reverse proxy.
|
|
module.exports = {
|
|
apps: [
|
|
{
|
|
name: "photoreport-site",
|
|
cwd: __dirname + "/../../apps/site",
|
|
script: "node_modules/next/dist/bin/next",
|
|
args: "start -p 3100",
|
|
instances: 2,
|
|
exec_mode: "cluster",
|
|
env: { NODE_ENV: "production", PORT: "3100", API_URL: process.env.API_URL || "http://127.0.0.1:3000" },
|
|
},
|
|
],
|
|
};
|