bracket icon indicating copy to clipboard operation
bracket copied to clipboard

Docker fix prod

Open oscartobar opened this issue 1 month ago • 2 comments

Two bugs have been fixed:

  • When the production database starts and is empty, it generates the error "index "ix_users_email" does not exist." This bug has been fixed.
  • When using the latest version of PostgreSQL (18), it generates the error /var/lib/postgresql/data #1389. New functionality has been added:
  • New functionality has been added to allow APIs to be private, eliminating the need for CORS in production. If APIs need to be published, a parameter has been created for this purpose. See API-MODES.md

oscartobar avatar Nov 01 '25 21:11 oscartobar

@oscartobar is attempting to deploy a commit to the evroon's projects Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Nov 01 '25 21:11 vercel[bot]

Thanks for the PR!

Hmm I am not really sure what the changes related to CORS attempt to solve.

Maybe the fix for postgres 18 can be a separate (smaller) PR?

When the production database starts and is empty, it generates the error "index "ix_users_email" does not exist." This bug has been fixed.

That index should be getting created once you run ./cli.py create-dev-db. Why do we need to change the alembic of (two years ago) for this and add more code in db_init.py etc.?

evroon avatar Nov 12 '25 13:11 evroon