Commit graph

59 commits

Author SHA1 Message Date
Tiago Yamamoto
14c4bc8370 fix(frontend): remove invalid AdminSidebar import from messages page 2025-12-13 18:46:00 -03:00
Tiago Yamamoto
0684ebfdf6 fix(frontend): remove invalid AdminSidebar import from candidates page
The AdminSidebar component doesn't exist - the dashboard layout already provides the sidebar.
2025-12-13 18:39:04 -03:00
Tiago Yamamoto
be35be0c10 fix(docker): align Dockerfile port with .env configuration (8521)
- Updated EXPOSE from 8080 to 8521
- Updated HEALTHCHECK to check port 8521
- Updated default ENV PORT from 8080 to 8521

This fixes the deployment health check issue where the container
was expecting port 8080 but the app was configured to run on 8521.
2025-12-13 18:23:48 -03:00
Tiago Yamamoto
e0288e91e5 Merge branch 'hml' into dev 2025-12-13 16:51:06 -03:00
Marcus Bohessef
94597dfeed ajuste na porta 2025-12-12 15:59:27 -03:00
Marcus Bohessef
672ac05e22 ajuste na porta 2025-12-12 15:47:26 -03:00
Marcus Bohessef
5082ac8e14 ajuste na porta 2025-12-12 15:41:54 -03:00
Marcus Bohessef
e0cc53fcf6 ajuste na porta 2025-12-12 15:28:39 -03:00
Marcus Bohessef
fae2fb00bd ajuste na porta 2025-12-12 15:08:53 -03:00
Marcus Bohessef
94a4c99d6b ajuste no drone.yml 2025-12-12 10:54:06 -03:00
Marcus Bohessef
9f872128b3 ajuste no drone.yml 2025-12-12 10:47:57 -03:00
Marcus Bohessef
a6ea992234 ajuste no drone.yml 2025-12-12 10:46:58 -03:00
Marcus Bohessef
6b9b8ba617 ajuste no drone.yml 2025-12-12 10:46:12 -03:00
Marcus Bohessef
1758a74ad2 ajuste no drone.yml 2025-12-12 10:45:22 -03:00
Marcus Bohessef
038bc5ce26 ajuste no drone.yml 2025-12-12 10:34:51 -03:00
Marcus Bohessef
1b9bf04658 ajuste no drone.yml 2025-12-12 10:21:31 -03:00
Marcus Bohessef
09976c1d6c ajuste no drone.yml 2025-12-12 10:17:37 -03:00
Marcus Bohessef
7a3c7f61b9 ajuste no drone.yml 2025-12-12 10:16:32 -03:00
Marcus Bohessef
bf75408e03 ajuste no drone.yml 2025-12-12 10:10:17 -03:00
Marcus Bohessef
366fb81245 ajuste no drone.yml 2025-12-12 10:08:43 -03:00
Marcus Bohessef
593fca41f0 ajuste no drone.yml 2025-12-12 10:03:11 -03:00
Marcus Bohessef
5589e82899 ajuste no drone.yml 2025-12-12 09:47:36 -03:00
Marcus Bohessef
ff99d9ce4e ajuste no drone.yml 2025-12-12 09:27:40 -03:00
Marcus Bohessef
832798b9e8 ajuste no drone.yml 2025-12-12 00:27:19 -03:00
Marcus Bohessef
c32e5a0d96 ajuste no drone.yml 2025-12-12 00:14:08 -03:00
Marcus Bohessef
44641a9115 ajuste no drone.yml 2025-12-12 00:05:22 -03:00
Marcus Bohessef
164294fc27 ajuste no drone.yml 2025-12-12 00:00:29 -03:00
Marcus Bohessef
40fefb88ae ajuste no drone.yml 2025-12-11 23:58:50 -03:00
Marcus Bohessef
7a607e4cbe ajuste no drone.yml 2025-12-11 23:52:43 -03:00
Marcus Bohessef
94c58ba9e2 ajuste no drone.yml 2025-12-11 23:51:56 -03:00
Marcus Bohessef
ef5db9f91a ajuste no drone.yml 2025-12-11 23:50:52 -03:00
Marcus Bohessef
d70bacac7e ajuste no drone.yml 2025-12-11 23:50:13 -03:00
Marcus Bohessef
c5b31e7123 ajuste no drone.yml 2025-12-11 23:48:55 -03:00
Marcus Bohessef
d0f7884611 ajuste no drone.yml 2025-12-11 23:46:34 -03:00
Marcus Bohessef
ddefa807d6 ajuste no drone.yml 2025-12-11 23:42:19 -03:00
Marcus Bohessef
5ede17efad ajuste no drone.yml 2025-12-11 23:34:37 -03:00
Marcus Bohessef
794e4fb343 ajuste no drone.yml 2025-12-11 23:24:59 -03:00
Marcus Bohessef
2524863ad8 ajuste no drone.yml 2025-12-11 23:06:19 -03:00
Marcus Bohessef
1ddae9a4e3 ajuste no drone.yml 2025-12-11 22:57:34 -03:00
Marcus Bohessef
47be908712 ajuste no drone.yml 2025-12-11 22:45:36 -03:00
Marcus Bohessef
40df003e67 ajuste no drone.yml 2025-12-11 22:39:34 -03:00
Marcus Bohessef
98cf247e3b ajuste no drone.yml 2025-12-11 22:32:37 -03:00
Marcus Bohessef
d3b856bf81 ajuste no drone.yml 2025-12-11 22:30:47 -03:00
Marcus Bohessef
4189686edf ajuste no drone.yml 2025-12-11 22:07:17 -03:00
Marcus Bohessef
50d4daa9de ajuste no drone.yml 2025-12-11 21:35:11 -03:00
Marcus Bohessef
3621b4b872 ajuste no drone.yml 2025-12-11 21:26:29 -03:00
Marcus Bohessef
87e3b03570 ajuste no drone 2025-12-11 21:06:06 -03:00
Marcus Bohessef
bb059a8035 gohorse-backend 2025-12-11 19:55:31 -03:00
Tiago Yamamoto
aab2de7534 fix(seeder): add SSL support and fix foreign key violations
- Add SSL configuration to database pool supporting DB_SSLMODE=require
- Fix user seeder FK violations by using RETURNING clause to get actual IDs
- Update all user creation queries (superadmin, company admins, candidates)
- Ensure correct user_id references when ON CONFLICT DO UPDATE occurs

This fixes the seeder hanging issue and foreign key constraint violations
that were preventing successful database population.
2025-12-11 19:36:37 -03:00
Tiago Yamamoto
18ac6d74f0 chore: update port configuration to avoid conflicts
Port Configuration:
- Backend: 8521 (was 8080/8158)
- Frontend: 8963 (was 3000)

Files updated:
- backend/.env.example: updated PORT and CORS_ORIGINS
- frontend/src/lib/auth.ts: API_URL default to 8521
- frontend/src/lib/api.ts: API_URL default to 8521
- frontend/src/lib/storage.ts: API_URL default to 8521
- run_dev.sh: added port flags and service info display

Usage:
  ./run_dev.sh
  # Backend:  http://localhost:8521
  # Frontend: http://localhost:8963
2025-12-11 17:06:37 -03:00