Files
gamegroup2/backend/docker-compose.yml
T
congsh 4dd15dceab fix: collection name mismatch, login/register navigation, and connection config
- Fix teamSessions → team_sessions to match PocketBase collection name
- Replace <a @click> with <router-link> in Login and Register views
- Update PocketBase default URL and vite proxy target
- Comment out docker-compose user directive for permission fix

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-17 19:28:53 +08:00

22 lines
561 B
YAML

version: '3.8'
services:
pocketbase:
image: ghcr.io/muchobien/pocketbase:0.22.4
container_name: gamegroup-pb
# user: "${PB_UID:-1000}:${PB_GID:-1000}"
ports:
- "${PB_PORT:-8711}:8090"
volumes:
- ./pb_data:/pb_data
- ./pb_migrations:/pb_migrations
environment:
- GO_ENV=production
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8090/api/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s