mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
feat: update pocketbase
This commit is contained in:
parent
146187c3a2
commit
036627ea98
@ -1,9 +1,22 @@
|
||||
version: "3.8"
|
||||
version: "3.7"
|
||||
services:
|
||||
pocketbase:
|
||||
image: spectado/pocketbase:0.23.3
|
||||
image: ghcr.io/muchobien/pocketbase:latest
|
||||
container_name: pocketbase
|
||||
restart: unless-stopped
|
||||
command:
|
||||
- --encryptionEnv
|
||||
- ENCRYPTION
|
||||
environment:
|
||||
ENCRYPTION: ${secret_key}
|
||||
ports:
|
||||
- "8090:8090"
|
||||
volumes:
|
||||
- /etc/dokploy/templates/${HASH}/data:/pb_data
|
||||
- /etc/dokploy/templates/${HASH}/public:/pb_public
|
||||
- /etc/dokploy/templates/${HASH}/migrations:/pb_migrations
|
||||
- /etc/data:/pb_data
|
||||
- /etc/public:/pb_public
|
||||
- /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
|
@ -1,5 +1,6 @@
|
||||
[variables]
|
||||
main_domain = "${domain}"
|
||||
secret_key = "${base64:32}"
|
||||
|
||||
[config]
|
||||
env = {}
|
||||
|
Loading…
Reference in New Issue
Block a user