mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-21 15:33:45 +00:00
🐳 fix: Qualify Docker Hub Image Names in Compose Files and Dockerfiles (#17950)
* fix: Qualify Docker Hub Image Names in Compose Files and Dockerfiles Podman has no default registry, so a short image name such as mongo:8.0.20 or pgvector/pgvector:0.8.0-pg15-trixie fails with "short-name did not resolve to an alias" unless the host configures unqualified-search registries. Name docker.io on every third-party image in the compose files, the override example and the Dockerfiles, using docker.io/library/ for official images. Tags and digests are unchanged. scripts/images.test.mjs fails on any image a compose file or Dockerfile pulls without a registry host, and Static Checks runs it when one of those files changes. * test: Harden the image name scanner for indented comments and variable defaults Commented image lines are matched at any indentation, a variable with an empty default or more than one interpolation is not guessed, and a Dockerfile FROM with a default is judged by that default, as in compose files. * fix: Qualify the Channel Gateway and Mongo Replica Images The channel compose stack landed on dev with short names, which the image name test now rejects.
This commit is contained in:
parent
1da68ffa4c
commit
effcec615d
19 changed files with 259 additions and 36 deletions
|
|
@ -23,14 +23,14 @@ services:
|
|||
container_name: chat-mongodb
|
||||
ports: # Uncomment this to access mongodb from outside docker, not safe in deployment
|
||||
- 27018:27017
|
||||
image: mongo
|
||||
image: docker.io/library/mongo
|
||||
restart: always
|
||||
volumes:
|
||||
- ./data-node:/data/db
|
||||
command: mongod --noauth
|
||||
meilisearch:
|
||||
container_name: chat-meilisearch
|
||||
image: getmeili/meilisearch:v1.7.3
|
||||
image: docker.io/getmeili/meilisearch:v1.7.3
|
||||
ports: # Uncomment this to access meilisearch from outside docker
|
||||
- 7700:7700 # if exposing these ports, make sure your master key is not the default value
|
||||
env_file:
|
||||
|
|
@ -41,7 +41,7 @@ services:
|
|||
volumes:
|
||||
- ./meili_data_v1.7:/meili_data
|
||||
vectordb:
|
||||
image: pgvector/pgvector:0.8.0-pg15-trixie
|
||||
image: docker.io/pgvector/pgvector:0.8.0-pg15-trixie
|
||||
environment:
|
||||
POSTGRES_DB: mydatabase
|
||||
POSTGRES_USER: myuser
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue