mirror of
https://github.com/lobehub/lobe-chat.git
synced 2026-06-13 19:20:04 +00:00
🔨 chore(docker): replace dev/prod pgsql docker image with paradedb (#13373)
🐛 fix(docker): replace dev/prod pgsql docker image with paradedb Signed-off-by: WindSpiritSR <simon343riley@gmail.com>
This commit is contained in:
@@ -15,7 +15,7 @@ services:
|
|||||||
- .env
|
- .env
|
||||||
|
|
||||||
postgresql:
|
postgresql:
|
||||||
image: pgvector/pgvector:pg17
|
image: paradedb/paradedb:latest-pg17
|
||||||
container_name: lobe-postgres
|
container_name: lobe-postgres
|
||||||
ports:
|
ports:
|
||||||
- '5432:5432'
|
- '5432:5432'
|
||||||
@@ -63,11 +63,11 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- rustfs-data:/data
|
- rustfs-data:/data
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "wget -qO- http://localhost:9000/health >/dev/null 2>&1 || exit 1"]
|
test: ['CMD-SHELL', 'wget -qO- http://localhost:9000/health >/dev/null 2>&1 || exit 1']
|
||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 3s
|
timeout: 3s
|
||||||
retries: 30
|
retries: 30
|
||||||
command: ["--access-key","${RUSTFS_ACCESS_KEY}","--secret-key","${RUSTFS_SECRET_KEY}","/data"]
|
command: ['--access-key','${RUSTFS_ACCESS_KEY}','--secret-key','${RUSTFS_SECRET_KEY}','/data']
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
|
|
||||||
@@ -90,7 +90,7 @@ services:
|
|||||||
mc admin info rustfs || true;
|
mc admin info rustfs || true;
|
||||||
mc anonymous set-json "/bucket.config.json" "rustfs/lobe";
|
mc anonymous set-json "/bucket.config.json" "rustfs/lobe";
|
||||||
'
|
'
|
||||||
restart: "no"
|
restart: 'no'
|
||||||
networks:
|
networks:
|
||||||
- lobe-network
|
- lobe-network
|
||||||
env_file:
|
env_file:
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ services:
|
|||||||
- lobe-network
|
- lobe-network
|
||||||
|
|
||||||
postgresql:
|
postgresql:
|
||||||
image: pgvector/pgvector:pg17
|
image: paradedb/paradedb:latest-pg17
|
||||||
container_name: lobe-postgres
|
container_name: lobe-postgres
|
||||||
ports:
|
ports:
|
||||||
- '5432:5432'
|
- '5432:5432'
|
||||||
|
|||||||
Reference in New Issue
Block a user