Files
templates/blueprints/pocketbase/docker-compose.yml
Jainil Prajapati e61f9020db feat(pocketbase): update docker-compose.yml and template configuration (#363)
* 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
2025-09-20 23:37:27 -06:00

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: {}