fix: 修复后端代码违规并更新协议文档

- 修复 notifications 模块 datetime.now() 缺少时区问题
- 用 ApiProblemError 替换 BaseService 中的 HTTPException
- 更新协议文档:添加错误码、繁体字段、邀请相关协议
- 升级 Docker 镜像版本
This commit is contained in:
qzl
2026-04-16 10:51:08 +08:00
parent aea514a9b5
commit 443c0c80ae
12 changed files with 113 additions and 17 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ include:
services:
redis:
image: redis:7-alpine
image: redis:7.4.2-alpine
container_name: eryao-local-redis
restart: unless-stopped
ports:
+11 -4
View File
@@ -74,7 +74,7 @@ services:
rest:
container_name: supabase-rest
image: postgrest/postgrest:v14.6
image: postgrest/postgrest:v14.8
restart: unless-stopped
depends_on:
db:
@@ -92,7 +92,7 @@ services:
storage:
container_name: supabase-storage
image: supabase/storage-api:v1.44.2
image: supabase/storage-api:v1.48.26
restart: unless-stopped
depends_on:
db:
@@ -125,7 +125,7 @@ services:
meta:
container_name: supabase-meta
image: supabase/postgres-meta:v0.95.2
image: supabase/postgres-meta:v0.96.3
restart: unless-stopped
depends_on:
db:
@@ -146,12 +146,19 @@ services:
studio:
container_name: supabase-studio
image: supabase/studio:2026.03.16-sha-5528817
image: supabase/studio:2026.04.08-sha-205cbe7
restart: unless-stopped
depends_on:
meta:
condition: service_healthy
healthcheck:
test: ["CMD-SHELL", "node -e \"require('http').get('http://0.0.0.0:3000/', (r) => process.exit(r.statusCode < 500 ? 0 : 1)).on('error', () => process.exit(1))\""]
interval: 10s
timeout: 10s
retries: 3
start_period: 15s
environment:
HOSTNAME: "0.0.0.0"
STUDIO_PG_META_URL: http://meta:8080
POSTGRES_PASSWORD: ${ERYAO_DATABASE__PASSWORD}
POSTGRES_HOST: db