Files
gamegroup2/docker-compose.backend.yml
T
congsh 221a8d7108 fix: restore Dev PocketBase port mapping to 8090
Was 8711:8090 but Dev PB should be on host port 8090 per CLAUDE.md
environment table. UAT remains on 8712.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-18 20:22:43 +08:00

26 lines
623 B
YAML

services:
pocketbase:
image: ghcr.io/muchobien/pocketbase:0.22.4
container_name: gamegroup-pb
ports:
- "8090:8090"
volumes:
- ./backend/pb_data:/pb_data
- ./backend/pb_migrations:/pb_migrations
- ./backend/pb_hooks:/pb_hooks
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
networks:
- gamegroup-net
networks:
gamegroup-net:
driver: bridge