38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
NODO_BASE_URL=localhost
|
|
|
|
# Bus FHIR (base, usado como fallback si no se definen MPI_URL o DOCUMENT_REGISTRY_URL)
|
|
BUS_URL=http://bus-host:8080
|
|
BUS_JWT_SECRET=your-shared-secret
|
|
BUS_ISSUER=https://your-repositorio-url
|
|
|
|
# Servicios del Bus (opcionales, por defecto usan BUS_URL)
|
|
MPI_URL=http://mpi-host:8080
|
|
DOCUMENT_REGISTRY_URL=http://document-registry-host:8080
|
|
|
|
# Scopes por servicio
|
|
MPI_SCOPE=Patient/*.read,Patient/*.write
|
|
DOCUMENT_REGISTRY_SCOPE=DocumentReference/*.read,DocumentReference/*.write
|
|
|
|
# HAPI FHIR Server
|
|
FHIR_URL=http://hapi-fhir-host:8080/fhir
|
|
|
|
LOG_LEVEL=debug
|
|
|
|
# Habilita logs de requests/responses salientes al Bus (true | false)
|
|
BUS_DEBUG=false
|
|
|
|
# --- VHL (Verifiable Health Link) ---
|
|
# Ruta al archivo PEM con la clave privada EC P-256 para firmar los CWT.
|
|
# Si no se configura, se genera una clave efímera en cada inicio (no apta para producción).
|
|
VHL_PRIVATE_KEY_FILE=/etc/bus-gateway/vhl-private-key.pem
|
|
|
|
# URI del emisor del CWT (claim "iss"). Por defecto usa BUS_ISSUER.
|
|
# VHL_ISSUER=https://gateway.salud.gob.ar
|
|
|
|
# URL pública base de este gateway, usada para construir las URLs de manifest y documento.
|
|
# Requerida para usar los endpoints VHL.
|
|
VHL_BASE_URL=https://gateway.salud.gob.ar
|
|
|
|
# TTL de los tokens VHL y documentos cifrados, en segundos (por defecto: 604800 = 7 días).
|
|
# VHL_TOKEN_TTL=604800
|