Created
January 26, 2023 20:22
-
-
Save delineas/e4420377d724029884b778a085cb2869 to your computer and use it in GitHub Desktop.
Pocketbase Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.7" | |
services: | |
pocketbase: | |
image: ghcr.io/muchobien/pocketbase:latest | |
container_name: pocketbase | |
restart: unless-stopped | |
ports: | |
- "8090:8090" | |
volumes: | |
- $PWD/pb_data:/pb_data | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment