Last active
January 24, 2024 12:04
-
-
Save KristofferEriksson/36d3e0499f3d2f86e8ee04b275705073 to your computer and use it in GitHub Desktop.
PocketBase Docker Compose File
This file contains hidden or 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 | |
command: | |
- --encryptionEnv | |
- ENCRYPTION | |
environment: | |
ENCRYPTION: "your-secret-key" | |
ports: | |
- "8090:8090" | |
volumes: | |
- /data/pocketbase/data:/pb_data | |
- /data/pocketbase/public:/pb_public | |
healthcheck: | |
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