Commit Graph

28 Commits

Author SHA1 Message Date
Your Name
79d18dae13 After finalise with the internationarization of web part 2026-07-02 19:32:28 +02:00
Your Name
7bb971b502 Push for multi roles functionalities4 2026-07-02 12:14:21 +02:00
Your Name
bef651bd45 Push for multi roles functionalities3 2026-07-02 10:56:38 +02:00
Your Name
ed2af73145 Push for multi roles functionalities2 2026-07-02 10:07:05 +02:00
Your Name
c05db56949 Push for multi roles functionalities1 2026-07-02 09:50:42 +02:00
Your Name
fa4c3a2d6c Push for multi roles functionalities 2026-07-02 09:21:05 +02:00
Your Name
ea937d3084 After doing some design on some icons1 2026-07-01 16:02:58 +02:00
Your Name
b0630d9364 After doing some design on some icons 2026-07-01 15:24:58 +02:00
Your Name
6c4650ccf3 After doing the redesign some tables 2026-07-01 12:22:21 +02:00
Your Name
f637f68976 Commit pour resoudre le problème de single prediction3 2026-06-30 19:53:50 +02:00
Your Name
8cb6152518 Commit pour resoudre le problème de single prediction2 2026-06-30 19:44:38 +02:00
Your Name
005f79ac83 Commit pour resoudre le problème de single prediction1 2026-06-30 19:19:40 +02:00
Your Name
cb97439d1a Commit pour resoudre le problème de single prediction 2026-06-30 19:04:35 +02:00
Your Name
53850a4462 feat: one-command Docker init for local and VPS
Add docker:local:* scripts with .env.docker (host Postgres), phase-b:init migrate-then-up for production, and document deploy workflows in DEPLOY-VPS.md.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 18:04:48 +02:00
Your Name
c4f2dbea89 fix: setup page must not show complete when API fails
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 09:24:48 +02:00
Your Name
91a04c0979 fix: attach prediqo-web to prediqo-net Docker network
Frontend was on the default compose network while nginx and backend use prediqo-net, so prediqo-web could not be resolved from nginx.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 08:45:30 +02:00
Your Name
db99ffcc61 fix: container_name prediqo-web to avoid orphan conflict
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 08:22:12 +02:00
Your Name
d798080262 fix: rename compose service prediqo-web for Docker DNS
Underscores in prediqo_web break nginx resolver 127.0.0.11 lookups; hyphenated service name fixes /setup 502.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 08:16:26 +02:00
Your Name
04f45782e9 fix: nginx resolver with host variable and literal port
Static upstreams crash nginx on boot when backend DNS is not ready; use Docker DNS resolver with proxy_pass http://\ pattern.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 08:09:03 +02:00
Your Name
42deb251ad fix: use static nginx upstreams now that backend has healthcheck
Variable proxy_pass with dynamic host:port breaks proxying on nginx 1.27; static upstreams work because compose waits for backend healthy.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 20:10:40 +02:00
Your Name
64c9db3dab fix: nginx proxy_pass host and port as separate variables
backend: 4000 in one variable breaks nginx upstream resolution; split host and port for dynamic Docker DNS.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 20:06:11 +02:00
Your Name
b83f360ec2 fix: faster backend startup and nginx wait for health
Skip schema re-run on every container start (RUN_MIGRATE_ON_START=0); add /health check so nginx does not proxy before the API is listening.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 20:02:33 +02:00
Your Name
16d2c50a30 fix: referral_program_settings FK on fresh database
commission_wallet_type_id defaulted to 2 but USDT_TRC20 is id 1 on empty DB; seed row from wallet_types instead.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 18:07:30 +02:00
Your Name
71db1a9718 fix: pass POSTGRES_PASSWORD into Docker for DB auth
Containers did not receive DATABASE_PASSWORD from .env; fall back to POSTGRES_PASSWORD and expose both vars in compose so SCRAM auth works when the password is not embedded in DATABASE_URL.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 18:00:04 +02:00
Your Name
9e75ec0e35 fix: rewrite localhost DATABASE_URL to host.docker.internal in Docker
Containers cannot reach Postgres on the VPS host via localhost; auto-rewrite when running inside Docker and improve migrate error hints.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 17:50:13 +02:00
Your Name
6382a28c7b fix: VPS deployment — migrations, nginx, and DB connectivity
Fix fresh-DB migration order for candle_predict_auto_settings, fail loudly on migrate errors, honor DATABASE_URL from .env, add Docker DNS resolver for nginx upstreams, and document VPS deploy steps.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 17:43:52 +02:00
Your Name
e72987b309 chore: add gitignore and stop tracking secrets and node_modules
Keep environment files and dependencies local only to avoid leaking credentials and bloating the repository.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 15:26:28 +02:00
Your Name
0bf8b29220 first commit 2026-06-29 15:01:23 +02:00