Is it normal when pgvector does not copy the POSTGRES_PASSWORD env vars from production environment?
I have a pgvector service, but whenever I make new PR, it crashes on the PR environment, the error is something like:
Which I find it's quite strange, because all other services like my nextjs app or nestjs backend just copy their env vars just fine.
Do I miss something here?
16 Replies
Project ID:
28677a80-2aaf-46d7-8fff-e2898fa09eb1
28677a80-2aaf-46d7-8fff-e2898fa09eb1
can you show screenshots of the pgvector's service variables in the pr environment?
damn, I merged the PR, but I remember I checked it and all of them are empty string (at least I can be sure the POSTGRES_PASSWORD)
I can spawn a new PR if you want to check it
yes please
you can see none of them were there
I used default template with almost nothing customised
interesting, I'll see if I can reproduce
Does not want to be pushy, but we really need to have the AI demo soon, and the pgvector plays an important part in it, and my salary depends the demo, so... 😸
@fp - service variables are not being carried over into the service in a pr env with no options to add them back
Solution
iirc the fix is to enable this.
Then the variables are carried over from your base environment.
thanks, let me check
damn it works 🔥 I just dont understand, then why other services like nextjs and nestjs still copy vars before ticking that checkbox?
we will never know
btw thanks Brody and fp, it works as expected now