mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-29 10:12:34 +00:00
feat: switch to postgres docker images with pgvector support (v4.0) (#10658)
Starting v4.0, pgvector support is mandatory. This PR adds pgvector support for new docker installations. - Switch to postgres images with pgvector support - Change the default postgres version from `12` to `16`
This commit is contained in:
@@ -40,7 +40,7 @@ services:
|
|||||||
network_mode: service:db
|
network_mode: service:db
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: postgres:latest
|
image: pgvector/pgvector:pg16
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- postgres-data:/var/lib/postgresql/data
|
- postgres-data:/var/lib/postgresql/data
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:12
|
image: pgvector/pgvector:pg16
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- '127.0.0.1:5432:5432'
|
- '127.0.0.1:5432:5432'
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ services:
|
|||||||
command: ['bundle', 'exec', 'sidekiq', '-C', 'config/sidekiq.yml']
|
command: ['bundle', 'exec', 'sidekiq', '-C', 'config/sidekiq.yml']
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:12
|
image: pgvector/pgvector:pg16
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- '5432:5432'
|
- '5432:5432'
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ services:
|
|||||||
command: bin/vite dev
|
command: bin/vite dev
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:12
|
image: pgvector/pgvector:pg16
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- '5432:5432'
|
- '5432:5432'
|
||||||
|
|||||||
Reference in New Issue
Block a user