- multi-stage Dockerfile; worker bundled to build/worker.mjs (no tsx at runtime) - docker-compose.yml + docker-compose.nginx.yml (127.0.0.1:3320), Nginx site, encrypted backups - production URLs (datewise.metatronlabz.com) in shopify.app.toml; URL auto-update off - verified locally: healthz/landing/privacy/terms 200, unsigned proxy/webhook 400, worker starts Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 lines
452 B
YAML
9 lines
452 B
YAML
# Use this when the VPS already runs Nginx (it owns ports 80/443 and the TLS certificate).
|
|
# Runs only Postgres + the app + the worker, with the app published on localhost for Nginx to proxy to:
|
|
# docker compose -f docker-compose.yml -f docker-compose.nginx.yml up -d --build db app worker
|
|
# Nginx site: deploy/nginx-datewise.conf (port 3320 — check it's free first: ss -ltnp | grep 3320).
|
|
services:
|
|
app:
|
|
ports:
|
|
- "127.0.0.1:3320:3000"
|