mirror of
https://github.com/Dokploy/templates.git
synced 2026-06-26 09:35:30 +02:00
* feat(pocketbase): update docker-compose.yml and template configuration - Update PocketBase to use latest version instead of specific version - Add environment variables for configuration - Implement named volumes for data persistence - Improve healthcheck configuration with better parameters - Add encryption support via environment variable - Update template.toml to include new configuration options - Configure proper volume mounts and environment variables - Set default timezone to Europe/Berlin * feat(pocketbase): refactor docker-compose and template configuration for improved clarity and consistency
23 lines
451 B
YAML
23 lines
451 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
pocketbase:
|
|
image: elestio/pocketbase:${SOFTWARE_VERSION_TAG}
|
|
restart: always
|
|
user: "0:0"
|
|
expose:
|
|
- 8090
|
|
volumes:
|
|
- pocketbase-data:/pb_data
|
|
environment:
|
|
- EMAIL=${EMAIL}
|
|
- ADMIN_PASSWORD=${ADMIN_PASSWORD}
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-qO-", "http://localhost:8090/_/"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
|
|
volumes:
|
|
pocketbase-data: {}
|