feat: update pocketbase

This commit is contained in:
naterfute 2025-04-21 03:09:23 -07:00
parent 146187c3a2
commit 036627ea98
No known key found for this signature in database
GPG Key ID: 8DB2A1C41F6F6CA4
2 changed files with 19 additions and 5 deletions

View File

@ -1,9 +1,22 @@
version: "3.8" version: "3.7"
services: services:
pocketbase: pocketbase:
image: spectado/pocketbase:0.23.3 image: ghcr.io/muchobien/pocketbase:latest
container_name: pocketbase
restart: unless-stopped restart: unless-stopped
command:
- --encryptionEnv
- ENCRYPTION
environment:
ENCRYPTION: ${secret_key}
ports:
- "8090:8090"
volumes: volumes:
- /etc/dokploy/templates/${HASH}/data:/pb_data - /etc/data:/pb_data
- /etc/dokploy/templates/${HASH}/public:/pb_public - /etc/public:/pb_public
- /etc/dokploy/templates/${HASH}/migrations:/pb_migrations - /etc/hooks:/pb_hooks
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:8090/api/health || exit 1
interval: 5s
timeout: 5s
retries: 5

View File

@ -1,5 +1,6 @@
[variables] [variables]
main_domain = "${domain}" main_domain = "${domain}"
secret_key = "${base64:32}"
[config] [config]
env = {} env = {}