feat: add ${GLOBAL_REGISTRY} for change docker image

This commit is contained in:
Sun-ZhenXing
2025-11-05 20:26:14 +08:00
parent 373cc3cdd6
commit a65a009640
127 changed files with 203 additions and 204 deletions

View File

@@ -1,7 +1,3 @@
# Restate Single-Node Server
# A distributed workflow engine for stateful services
# Documentation: https://docs.restate.dev/
x-defaults: &defaults
restart: unless-stopped
logging:
@@ -13,7 +9,7 @@ x-defaults: &defaults
services:
restate:
<<: *defaults
image: restatedev/restate:${RESTATE_VERSION:-1.5.3}
image: ${GLOBAL_REGISTRY:-}restatedev/restate:${RESTATE_VERSION:-1.5.3}
command: ["--node-name=restate-1"]
ports:
- "${INGRESS_PORT_OVERRIDE:-8080}:8080" # Ingress API
@@ -25,7 +21,7 @@ services:
- TZ=${TZ:-UTC}
- RESTATE_LOG_FILTER=${RESTATE_LOG_FILTER:-restate=info}
healthcheck:
test: ["CMD", "sh", "-c", "wget --no-verbose --tries=1 --spider http://localhost:9070/health || exit 1"]
test: ["CMD", "sh", "-c", "curl --no-verbose --tries=1 --spider http://localhost:9070/health || exit 1"]
interval: 30s
timeout: 10s
retries: 3