You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 022f6ef
Browse filesBrowse the repository at this point in the historyBrowse files
Run OpenCoperLock natively on a dedicated Linux server under PM2, alongside the
existing Docker path.
- ecosystem.config.cjs: PM2 process definitions for the API (Fastify + the
single-instance Remote-Upload worker) and the Next.js standalone web server.
- scripts/deploy.sh: one-shot build + Prisma migrate + seed for bare metal.
- scripts/assemble-standalone.mjs (web postbuild): copies static/public into the
Next standalone output so `server.js` serves everything self-contained.
- API auto-loads the repo-root .env (apps/api/src/config/dotenv.ts) so no secrets
are embedded in the PM2 config; seed loads it too.
- docs/DEPLOYMENT.md: full PM2 walkthrough; README quick-start; .env.example
storage-path guidance for non-root deployments.
- gitignore the auto-generated next-env.d.ts (rewritten on every next build).
0 commit comments