Commit Graph

16 Commits

Author SHA1 Message Date
parsa aghaei
dbbf75e3c5 fix(prisma): use native binaryTarget and clean hardcoded engine paths
Some checks failed
Deploy Canina / deploy (push) Failing after 35s
2026-08-15 16:01:27 +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
0625b45ca7 fix(compose): set build network to traefik_public for direct nexus access
Some checks failed
Deploy Canina / deploy (push) Failing after 2s
2026-08-15 15:44:47 +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
e281ef75da feat(security/devops): disable swagger in prod, secure staging with basic auth & noindex, add DB backup script and uploads volume persistence
Some checks failed
Deploy Canina / deploy (push) Failing after 29s
2026-08-08 17:46:42 +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
431e2b547d fix: Prisma OpenSSL engine binary detection on Alpine
All checks were successful
Deploy Canina / deploy (push) Successful in 34s
- Set PRISMA_SCHEMA_ENGINE_BINARY to 3.0.x binary path
- Set PRISMA_QUERY_ENGINE_LIBRARY to 3.0.x library path
- node:20-alpine has libssl.so.3 but no openssl CLI binary
- Prisma detection fails silently, defaults to 1.1.x engines
- Explicit paths bypass detection and use correct binaries
- Remove apk add openssl (not needed, causes build failure without VPN)
- backend Dockerfile: use PRISMA_CLI_BINARY_TARGETS to generate correct client
2026-07-29 09:21:39 +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
parsa aghaei
cd17a532d9 fix: resolve backend TS compilation errors, startup order, and add clipboard paste upload
- Fix products.service.ts: ingredients -> ingredientList (Prisma relation name)
- Fix seed-blogs.ts: template literal refactor (array join) to avoid esbuild parse error
- Fix seed-custom.ts: category string -> connectOrCreate relation
- Add start-dev.js: sequential startup (backend first, then frontends)
- Add Ctrl+V paste upload to admin MediaSelector component
- Create missing images/vets/ and images/slider/ directories
2026-07-11 13:51:12 +03:30
6db28f6231 feat: add scripts/open-browsers.js to automatically open services on dev startup 2026-07-10 17:40:35 +03:30