mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
22 lines
546 B
YAML
22 lines
546 B
YAML
version: "3.7"
|
|
services:
|
|
pocketbase:
|
|
image: ghcr.io/muchobien/pocketbase:latest
|
|
container_name: pocketbase
|
|
restart: unless-stopped
|
|
command:
|
|
- --encryptionEnv
|
|
- ENCRYPTION
|
|
environment:
|
|
ENCRYPTION: ${secret_key}
|
|
ports:
|
|
- "8090:8090"
|
|
volumes:
|
|
- /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 |