#Docker compose yml

1 messages · Page 1 of 1 (latest)

minor phoenix
#

Is it possble to use a more generic tag for pgvcto-rs and redis?
Currently, I need to manually update the image tag based on the latest YML file, but if we had something like:

tensorchord/pgvecto-rs:pg14-v0.1.11

instead of

tensorchord/pgvecto-rs:pg14-v0.1.11@sha256:0335a1a22f8c5dd1b697f14f079934f5152eaaa216c09b61e293be285491f8ee

The YML file can remain unchanged and docker will pull the latest version related to pgvect-rs:pg14-v0.1.11.

halcyon tiger
#

Yes, you can do that. We pin digests for security and reproducibility, but for postgres and redis there isn't much reason to pin them.

minor phoenix
#

ok thanks. Should I pin to the particular version? Or pgvecto-rs:latest would work. Same question for redis.

halcyon tiger
#

Redis can be set to latest, but pgvecto-rs should still be 0.1.11

minor phoenix
#

thanks

fathom jetty
#

Especially for databases that's a terrible idea

tropic sphinx
#

For the docker compose I tried running docker compose up instead of docker compose up -d but it does not work. Is there anything stopping it from running docker compose up?

old hearth