Files
gamegroup2/backend/docker-compose.yml
T

21 lines
516 B
YAML
Raw Normal View History

version: '3.8'
services:
pocketbase:
image: ghcr.io/muchobien/pocketbase:v0.22.4
container_name: gamegroup-pb
ports:
- "${PB_PORT:-8090}: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