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>
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>
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>
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>
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>