datewise/docker-compose.nginx.yml
metatroncubeswdev bd2e3906df chore(deploy): Docker stack for the VPS (db, app, worker; Caddy or existing Nginx)
- 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>
2026-10-14 18:53:08 -04:00

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"