44a3214364
fix(backup): run SSH with -v and read the exit code so the Windows copy finishes
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-16 21:32:54 +03:30
9fc4ea9133
fix(backup): copy job no longer hangs in SSH and Windows mirrors the server dumps
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-16 20:59:38 +03:30
3cb579eaac
improvment: code reviewd. some bugs when removing an attachment fixed.
2026-10-10 02:28:06 +03:30
f9eddb4275
improvment: progression bar added to cases attachment card. upload size restrictions removed.
2026-10-10 00:59:29 +03:30
1c3e7b6495
docs for auto backup production db.
2026-10-09 17:55:28 +03:30
873b25e881
backup script that run on gitea server.
2026-10-09 17:34:23 +03:30
a690070127
Confirm new accounts and invites with an emailed code before they can sign in.
...
Existing users stay verified. Password reset can use email as well as SMS.
2026-10-08 19:22:02 +03:30
b62292cab7
docs: ask for the server password when the Mac copies backups at 17:00
...
A login item at 17:00 Iran time shows a password box and copies every dump still on the server. The password is not saved.
2026-10-06 19:12:30 +03:30
0c49dddc4c
docs: schedule production database dumps and copy them to the Mac
...
Three dumps a day stay on the server for 3 days. A Mac script copies every dump file after one password prompt.
2026-10-06 18:44:03 +03:30
38ea07da80
docs: add a manual runbook for production database backup and restore
...
The steps cover taking a nudentic.ir dump, copying it off the server, loading it into local Postgres, and restoring production in an emergency.
2026-10-06 18:08:02 +03:30
fae7e0cd53
fix(ci): prod nginx re-resolves backend via Docker DNS; deploy starts nginx last
2026-09-19 09:26:06 +03:30
957f94cf15
Cache npm and Docker bases on the Windows Gitea host for Iran-only builds.
...
CI installs via local Verdaccio and prefers Gitea copies of node/postgres/nginx so staging and prod can still ship when Docker Hub and npmjs are unreachable.
2026-09-15 12:04:04 +03:30
ea4d348dc2
fix(ci): install npm packages via npmmirror when npmjs.org is blocked
...
Staging Docker builds were hanging ~25m then dying with Exit handler never
called because registry.npmjs.org resets TLS from the runner. Point npm ci
at npmmirror (rewrite lockfile tarball hosts for the build only).
2026-09-13 20:24:45 +03:30
e3ff59497f
fix(ci): build images on node:20-bookworm-slim instead of Alpine
...
Alpine npm ci kept dying with Exit handler never called on Docker
Desktop; nested retries only burned hours. Use Debian + a single
cached npm ci, and update the Gitea node image mirror.
2026-09-12 15:34:24 +03:30
e2614bf4b0
fix(ci): retry npm ci in Docker builds when Exit handler never called
...
Docker Desktop OOM can kill npm mid-install on the Windows staging
runner. Retry npm ci, then fall back to install, and document the
≥8GB RAM requirement.
2026-09-12 11:07:56 +03:30
b1bcfc69e4
Lab Case Detail datatset load faliure fixed.
2026-09-07 20:41:18 +03:30
19b5671b0d
improvement: Frontend Dockerfile updated so that aseests in public folder loads on the website.
2026-09-06 14:20:28 +03:30
feafc3a219
fix: pass empty ExtraSources when NODE_IMAGE_SOURCE is unset
2026-09-05 20:11:18 +03:30
8fa856a980
fix: pull node:20-alpine from Arvan/ECR when Docker Hub is blocked
2026-09-05 19:59:45 +03:30
005e0b0394
fix: parse ci-resolve-node-image.ps1 on Windows PowerShell 5.1
2026-09-05 19:48:46 +03:30
c1846f8e22
fix: mirror node:20-alpine to Gitea when Docker Hub TLS times out
...
BuildKit was failing on registry-1.docker.io even when a local base
image existed. CI now prefers a Gitea-hosted NODE_IMAGE and retries
docker build.
2026-09-05 19:12:37 +03:30
663eafa3e8
fix: fail Gitea deploy when Docker image push does not succeed
...
Windows PowerShell ignored docker exit codes, so build-and-push looked
green while :sha tags were never pushed and deploy pulled missing images.
2026-09-05 19:03:06 +03:30
60be656cf1
Allow Gitea registry pushes through gitea.wixur.ir: nginx 50M body limit 413s Docker layers.
2026-09-01 12:40:26 +03:30
6465af11ee
Expose AdminJS on nudentic.ir: nginx only proxied /api, so /admin never reached Nest.
2026-09-01 11:49:14 +03:30
19364ad5c2
resolve failed handshake connection with https://wixur.ir:3000
2026-08-31 10:04:30 +03:30
50eda34e8e
The app is now wired to GlitchTip with the Sentry SDKs
2026-08-31 07:34:07 +03:30
573e5e0886
auto deploy on production server now finalized ready for smoke test.
2026-08-29 16:25:27 +03:30
23c37519b5
windows ssl
2026-08-29 14:46:41 +03:30
2e2c910d22
Document staging HTTPS on wixur.ir (Windows nginx + Let's Encrypt).
...
Mobinnet holds public port 80, so staging is served on 443. Examples and the host nginx template now match FRONTEND_URL=https://wixur.ir .
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-29 14:46:05 +03:30
c40e276b8a
migrate from http://178.131.50.201:8088 to wixur.ir
2026-08-29 12:09:50 +03:30
5ac3a4a708
Bind staging Docker to 18088 so portproxy can own 8088.
2026-08-24 12:06:13 +03:30
6d49fd0b89
Bind staging nginx to localhost for Windows Docker Desktop
...
Publish port 8088 on 127.0.0.1 only so netsh portproxy can expose staging
to LAN/public IPs; document the one-time portproxy setup on Windows.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-23 17:35:54 +03:30
e1c0434ed1
Fix frontend staging healthcheck for locale redirect
...
Accept 2xx/3xx on / so next-intl redirect to /en no longer marks the
container unhealthy and blocks nginx from starting.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-23 16:34:58 +03:30
eff27e359b
Fix staging containers failing on Windows Docker builds
...
Strip CRLF from entrypoint scripts in backend/frontend images, use Docker
DNS in staging nginx config, and wait for healthy app services before nginx.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-23 16:16:14 +03:30
2b2cca8361
fix docker url for making connection with gitea.
2026-08-23 15:20:14 +03:30
0e8e3a4a27
local ip set instead of static public ip server to find it in network.
2026-08-23 14:13:29 +03:30
a43c433d55
lable self-hosted change to windows
2026-08-23 11:34:10 +03:30
ebd2de39cf
staging deploy md doc.
2026-08-23 11:11:07 +03:30
1258ecf899
Enable Gitea Actions staging deploy on master push
2026-08-23 11:10:28 +03:30
901d838a2c
bugfix: organization not selected problem fixed. being logged out too often fixed.
2026-07-12 17:51:31 +03:30
dd1f632cab
render nginx ssl for ssl issue.
2026-07-07 15:32:52 +03:30
329d3f122c
delpoyment with fully dockerized project on wixur.ir, dyolink docker hub created beside backend and frontend image is uploaded.
2026-07-07 15:32:25 +03:30
627219df58
bugfix: .env.example files updated. some minor changes in jwt strategy to avoid failing when .env files does not contain needed keys.
2026-05-16 22:40:42 +03:30
4c61885cef
improvement: a port issue for local dev fixed.
2026-05-03 20:29:58 +03:30
5682da87aa
improvement: docker infrastructure overhauled.
2026-05-03 20:15:39 +03:30
26bd35ae3c
Initial commit: Full project structure
...
- Backend: NestJS with Docker
- Frontend: Next.js with Docker
- Nginx configuration for reverse proxy
- PostgreSQL setup
- Docker compose for orchestration
- Development environment configuration
2026-04-23 15:33:11 +03:30