chore: switch prod PostgreSQL to pgvector image and secure .env.production
This commit is contained in:
parent
da8d1e7667
commit
98d6528dc2
|
|
@ -16,8 +16,9 @@ backend/.venv/
|
||||||
.env
|
.env
|
||||||
backend/.env
|
backend/.env
|
||||||
frontend/.env.local
|
frontend/.env.local
|
||||||
# 不忽略 .env.example(供新成员参考)
|
.env.production
|
||||||
!.env.example
|
!.env.example
|
||||||
|
!.env.production.example
|
||||||
|
|
||||||
# IDE
|
# IDE
|
||||||
.idea/
|
.idea/
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ version: "3.9"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
db:
|
db:
|
||||||
image: postgres:15-alpine
|
image: pgvector/pgvector:pg15
|
||||||
container_name: geo_db_prod
|
container_name: geo_db_prod
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue