Whenever I attempt to deploy the pgvector/pgvector:pg16
docker image, it fails to start. This does not happen when I deploy this in other environments- including locally using docker-compose.
Some info on pgvector docker image: https://github.com/pgvector/pgvector?tab=readme-ov-file#docker
Other things to note:
[2024-03-16 08:14:25] ls: cannot access '/docker-entrypoint-initdb.d/': Invalid argument
pgvector/pgvector:pg16
image with my own Dockerfile) to run a loop using pg_isready
just spins forever, always returning false.Any help would be appreciated… here is the relevant part of my app spec:
services:
- internal_ports:
- 5432
image:
registry: pgvector
registry_type: DOCKER_HUB
repository: pgvector
tag: pg16
instance_count: 1
instance_size_slug: professional-s
name: pgvector
Hopefully someone else knows what’s going on here, and can help me out!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hey!
I just tried deploying that Docker image and it seems to be working as expected as long as I set the
POSTGRES_PASSWORD
env variable:Can you confirm if you’ve setup all of the required env variables by the
pgvector
Docker image?Best,
Bobby