sync dari sicabe-doc/deploy @ bc1a6e6
This commit is contained in:
@@ -483,6 +483,12 @@ services:
|
||||
# Port internal Keycloak untuk config Trino (config-coordinator.properties
|
||||
# memakai ${ENV:KEYCLOAK_INTERNAL_PORT}) — wajib ada di container.
|
||||
KEYCLOAK_INTERNAL_PORT: ${KEYCLOAK_INTERNAL_PORT:-8080}
|
||||
# Host Keycloak untuk token-url/jwks-url (server-ke-server). Multi-host dgn Keycloak
|
||||
# EKSTERNAL: ini = ALAMAT host pemilik (mis. 100.93.54.108) — bukan nama container
|
||||
# `keycloak` yang tak bisa di-resolve → penukaran token gagal ("could not be verified").
|
||||
KEYCLOAK_HOST: ${KEYCLOAK_HOST:-keycloak}
|
||||
# Kunci HMAC tetap untuk state OAuth2 Trino (default Trino acak tiap start).
|
||||
TRINO_OAUTH_STATE_KEY: ${TRINO_OAUTH_STATE_KEY:-trino-oauth-state-dev-only}
|
||||
healthcheck:
|
||||
# Trino internal port adalah 8080 (http-server.http.port)
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8080/v1/info"]
|
||||
|
||||
Reference in New Issue
Block a user