volumes: shared: dist: services: pocketbase: # image: ghcr.io/muchobien/pocketbase:latest build: context: ./pocketbase/docker args: - VERSION=0.26.6 # Specify the PocketBase version here # hostname: pocketbase restart: always # environment: # ENCRYPTION: example #optional ports: - 8090:8090 volumes: - ./volumes/pocketbase/pb_data:/pb_data # - ../pocketbase/pb_migrations:/pb_migrations - ../pocketbase/pb_hooks:/pb_hooks # healthcheck: # #optional (recommended) since v0.10.0 # test: wget --no-verbose --tries=1 --spider http://localhost:8090/api/health || exit 1 # interval: 5s # timeout: 5s # retries: 5 deploy: resources: limits: cpus: 0.5 reservations: cpus: 0.01