Commit Graph

12 Commits

Author SHA1 Message Date
parsa aghaei
33f15f7b5b fix(deploy): seed only on staging, use migrate deploy on production 2026-08-15 18:41:48 +03:30
parsa aghaei
0fb83142d6 fix(deploy): use prisma db push to sync schema before seeding
All checks were successful
Deploy Canina / deploy (push) Successful in 39s
2026-08-15 16:39:38 +03:30
parsa aghaei
adcafa1041 fix(deploy): use bridge nexus IP and add USER root to Dockerfile
Some checks failed
Deploy Canina / deploy (push) Has been cancelled
2026-08-15 15:48:35 +03:30
parsa aghaei
11ec6a77ef fix(deploy): use direct nexus IP and remove invalid add-host flag from compose build
Some checks failed
Deploy Canina / deploy (push) Has been cancelled
2026-08-15 15:39:22 +03:30
parsa aghaei
0af3fba2bb fix(deploy): dynamically resolve nexus container ip for npm registry build arg
Some checks failed
Deploy Canina / deploy (push) Failing after 0s
2026-08-15 15:32:21 +03:30
parsa aghaei
59babf855c fix(ci): fetch branch-specific deploy script and fix config copy paths in deploy.sh
Some checks failed
Deploy Canina / deploy (push) Failing after 0s
2026-08-15 15:20:57 +03:30
parsa aghaei
3122c5b13f deploy.yml updated
Some checks failed
Deploy Canina / deploy (push) Failing after 0s
2026-08-09 22:34:40 +03:30
parsa aghaei
330a151b7f deploy.sh updated
Some checks failed
Deploy Canina / deploy (push) Failing after 1s
2026-08-09 22:24:11 +03:30
parsa aghaei
381fa441fa deploy.yml updated
Some checks failed
Deploy Canina / deploy (push) Failing after 1s
2026-08-09 22:22:02 +03:30
parsa aghaei
3162fe2a7a fix(deploy): use --force-recreate in docker compose up
All checks were successful
Deploy Canina / deploy (push) Successful in 46s
2026-07-29 16:15:40 +03:30
parsa aghaei
b115c971f5 fix(deploy): use --remove-orphans in docker compose up to avoid container name conflicts
All checks were successful
Deploy Canina / deploy (push) Successful in 47s
2026-07-29 16:07:43 +03:30
parsa aghaei
501addc909 fix: CI/CD pipeline, dynamic API URLs, Dockerfile fixes
All checks were successful
Deploy Canina / deploy (push) Successful in 5m39s
- Backend Dockerfile: add chown for node_modules (Prisma permissions fix)
- Frontend Dockerfile: add ARG/ENV for NEXT_PUBLIC_API_URL, VITE_API_URL
- nginx.conf: template with __PLACEHOLDERS__ for per-env substitution
- deploy.yml: SSH keepalive, sudo for VPN
- api.ts: dynamic API URL via env vars instead of hardcoded
- next.config.ts: rewrite only in development mode
- scripts: deploy.sh, compose.stage.yml, compose.prod.yml
2026-07-28 16:37:05 +03:30