Created
December 14, 2024 21:07
-
-
Save marcelmaatkamp/acdc8c8e996ca0ea0b8a43aedc7044f5 to your computer and use it in GitHub Desktop.
pocketbase gist
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
services: | |
pocketbase: | |
image: ghcr.io/muchobien/pocketbase:0.23.6 | |
restart: unless-stopped | |
environment: | |
ENCRYPTION: $(openssl rand -hex 32)\ | |
prts: | |
- "8090:8090" | |
volumes: | |
- pocketbase:/pb_data | |
# - /path/to/public:/pb_public # optional | |
# - /path/to/hooks:/pb_hooks # optional | |
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 | |
volumes: | |
pocketbase: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment