✨ 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
|
||||
postgres:
|
||||
image: pgvector/pgvector:pg16
|
||||
pull_policy: always
|
||||
container_name: ${CONTAINER_NAME}_postgres
|
||||
volumes:
|
||||
- ${DB_DATA_LOCATION}:/var/lib/postgresql/data
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@ services:
|
|||
|
||||
postgresql:
|
||||
image: pgvector/pgvector:pg17
|
||||
pull_policy: always
|
||||
container_name: lobe-postgres
|
||||
ports:
|
||||
- '5432:5432'
|
||||
|
|
|
|||
Loading…
Reference in New Issue