8d4b9a167c
Add PocketBase hooks for group management and real-time notifications: - Groups collection with owner/members permissions - Team Sessions with group member verification - Invitations with real-time notifications - Helper functions for group ownership and membership checks Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Game Group V2 Backend
PocketBase BaaS 服务
启动
# 方式1: Docker
docker-compose up -d
# 方式2: 直接运行
./pocketbase serve --env .env
访问: http://localhost:8090// 管理后台: http://localhost:8090// (admin/admin)
环境变量
首次启动前,确保 .env 文件包含以下变量:
PB_PORT=8090
PB_DATA=./pb_data
PB_MIGRATIONS=./pb_migrations
开发环境
访问管理后台: http://localhost:8090/_/ 首次访问时需要创建管理员账号。
生产环境
建议固定 PocketBase 版本并配置反向代理 (nginx)。