feat: add ${GLOBAL_REGISTRY} for change docker image
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user