diff --git a/blueprints/pocketbase/docker-compose.yml b/blueprints/pocketbase/docker-compose.yml index cf5e94f..55d267c 100644 --- a/blueprints/pocketbase/docker-compose.yml +++ b/blueprints/pocketbase/docker-compose.yml @@ -1,9 +1,19 @@ version: "3.8" services: pocketbase: - image: spectado/pocketbase:0.23.3 + image: docker.io/bakirg/pocketbase-docker:latest restart: unless-stopped + ports: + - "8090" volumes: - - /etc/dokploy/templates/${HASH}/data:/pb_data - - /etc/dokploy/templates/${HASH}/public:/pb_public - - /etc/dokploy/templates/${HASH}/migrations:/pb_migrations + - "/etc/dokploy/templates/${HASH}/data:/pb_data" + - "/etc/dokploy/templates/${HASH}/migrations:/pb_migrations" + - "/etc/dokploy/templates/${HASH}/hooks:/pb_hooks" + - "/etc/dokploy/templates/${HASH}/public:/pb_public" + healthcheck: + test: wget -q --spider http://localhost:8090/api/health || exit 1 + interval: 30s + timeout: 5s + retries: 3 + start_period: 5s + diff --git a/blueprints/pocketbase/template.toml b/blueprints/pocketbase/template.toml index 45f5798..fb5c6fe 100644 --- a/blueprints/pocketbase/template.toml +++ b/blueprints/pocketbase/template.toml @@ -7,5 +7,5 @@ mounts = [] [[config.domains]] serviceName = "pocketbase" -port = 80 +port = 8090 host = "${main_domain}" diff --git a/meta.json b/meta.json index 2adf2e1..427f328 100644 --- a/meta.json +++ b/meta.json @@ -55,7 +55,7 @@ "id": "pocketbase", "name": "PocketBase", "description": "Open Source backend in 1 file", - "version": "v0.22.4", + "version": "v0.27.2", "logo": "logo.svg", "links": { "github": "https://github.com/pocketbase/pocketbase",