Commit Graph

4 Commits

Author SHA1 Message Date
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