You've already forked pgvecto.rs
mirror of
https://github.com/tensorchord/pgvecto.rs.git
synced 2025-08-01 06:46:52 +03:00
chore: start bgworker by postgresql args in dockerfile (#132)
Signed-off-by: usamoi <usamoi@outlook.com>
This commit is contained in:
@ -4,6 +4,5 @@ FROM $IMAGEPATH as binary
|
||||
FROM postgres:15
|
||||
|
||||
COPY --from=binary /pgvecto-rs-binary-release.deb /tmp/vectors.deb
|
||||
RUN apt-get install -y /tmp/vectors.deb && \
|
||||
rm -f /tmp/vectors.deb && \
|
||||
echo "echo 'shared_preload_libraries = '\"'\"'vectors.so'\"'\"'' >> /var/lib/postgresql/data/postgresql.auto.conf" > /docker-entrypoint-initdb.d/vectors.sh
|
||||
RUN apt-get install -y /tmp/vectors.deb && rm -f /tmp/vectors.deb
|
||||
CMD ["postgres","-c","shared_preload_libraries=vectors.so"]
|
||||
|
Reference in New Issue
Block a user