1
0
Fork 0

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:
pooneyy 2025-11-11 11:30:42 +08:00
parent 6941d23d84
commit 1548c773ea
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -49,6 +49,7 @@ services:
postgresql:
image: pgvector/pgvector:pg17
pull_policy: always
container_name: lobe-postgres
ports:
- '5432:5432'