Files
gamegroup2/docker-compose.backend.yml
T
congsh 2ce8985747 feat: add GameGroup2 project with frontend and backend
- Add .gitignore for Node.js and PocketBase projects
- Add frontend (Vue 3 + Vite + TypeScript)
- Add backend (PocketBase)
- Add deployment scripts and Docker compose configs

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 15:45:54 +08:00

25 lines
586 B
YAML

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