# 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"