✨ feat(docker): add pull policy to postgres services
- add `pull_policy: always` to postgres services in both affine and lobe-chat-data deployments - ensure latest pgvector images are always pulled for database services
This commit is contained in:
parent
6941d23d84
commit
1548c773ea
|
|
@ -69,6 +69,7 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
postgres:
|
postgres:
|
||||||
image: pgvector/pgvector:pg16
|
image: pgvector/pgvector:pg16
|
||||||
|
pull_policy: always
|
||||||
container_name: ${CONTAINER_NAME}_postgres
|
container_name: ${CONTAINER_NAME}_postgres
|
||||||
volumes:
|
volumes:
|
||||||
- ${DB_DATA_LOCATION}:/var/lib/postgresql/data
|
- ${DB_DATA_LOCATION}:/var/lib/postgresql/data
|
||||||
|
|
|
||||||
|
|
@ -49,6 +49,7 @@ services:
|
||||||
|
|
||||||
postgresql:
|
postgresql:
|
||||||
image: pgvector/pgvector:pg17
|
image: pgvector/pgvector:pg17
|
||||||
|
pull_policy: always
|
||||||
container_name: lobe-postgres
|
container_name: lobe-postgres
|
||||||
ports:
|
ports:
|
||||||
- '5432:5432'
|
- '5432:5432'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue