update docker config,

This commit is contained in:
2025-05-24 05:41:35 +08:00
parent a94ead44ba
commit 7a8bd60185
3 changed files with 107 additions and 99 deletions

View File

@@ -7,9 +7,9 @@ volumes:
services:
pocketbase:
# image: ghcr.io/muchobien/pocketbase:latest
image: 192.168.10.61:5000/demo_cms_pocketbase:latest
build:
context: ./pocketbase/docker
context: ../pocketbase/docker
args:
- VERSION=0.26.6 # Specify the PocketBase version here
# hostname: pocketbase
@@ -27,12 +27,12 @@ services:
- ../pocketbase/pb_hooks:/pb_hooks
# TODO: resume healthcheck in prod
# healthcheck:
# #optional (recommended) since v0.10.0
# test: wget --no-verbose --tries=1 --spider http://localhost:8090/api/health || exit 1
# interval: 5s
# timeout: 5s
# retries: 5
healthcheck:
#optional (recommended) since v0.10.0
test: wget --no-verbose --tries=1 --spider http://localhost:8090/api/health || exit 1
interval: 5s
timeout: 5s
retries: 5
deploy:
resources: