Compare commits
2 Commits
eaa41f4d68
...
2919873247
| Author | SHA1 | Date | |
|---|---|---|---|
| 2919873247 | |||
| 099b2109aa |
30
.env.example
30
.env.example
@ -4,29 +4,35 @@
|
|||||||
# =============================================================================
|
# =============================================================================
|
||||||
|
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
# NODO
|
# VARIABLES DE ENTORNO REQUERIDAS
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
|
|
||||||
|
|
||||||
# URL base del nodo (usada por bus-gateway internamente)
|
# URL base del nodo (usada por bus-gateway internamente)
|
||||||
NODO_URL_BASE=http://localhost
|
NODO_URL_BASE=http://localhost
|
||||||
|
|
||||||
# Zona horaria para todos los servicios
|
|
||||||
TZ=America/Argentina/Buenos_Aires
|
|
||||||
|
|
||||||
# =============================================================================
|
|
||||||
# BUS DE SALUD — Requeridas
|
|
||||||
# =============================================================================
|
|
||||||
|
|
||||||
# URL base del Bus de salud nacional
|
|
||||||
BUS_URL=https://bus-test.msal.gob.ar
|
|
||||||
|
|
||||||
# Secreto compartido para firmar tokens JWT (HS256) contra el Bus
|
# Secreto compartido para firmar tokens JWT (HS256) contra el Bus
|
||||||
BUS_JWT_SECRET=your-shared-secret
|
BUS_JWT_SECRET=your-shared-secret
|
||||||
|
|
||||||
# Identificador del emisor JWT (ej.: URL del repositorio del nodo)
|
# Identificador del emisor JWT (ej.: URL del repositorio del nodo)
|
||||||
BUS_ISSUER=https://your-repositorio-url
|
BUS_ISSUER=https://your-repositorio-url
|
||||||
|
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# INFRAESTRUCTURA
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
# Zona horaria para todos los servicios
|
||||||
|
TZ=America/Argentina/Buenos_Aires
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# BUS DE SALUD
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
# URL base del Bus de salud nacional
|
||||||
|
BUS_URL=https://bus-test.msal.gob.ar
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Scopes OAuth para el Master Patient Index
|
# Scopes OAuth para el Master Patient Index
|
||||||
MPI_SCOPE=Patient/*.read,Patient/*.write
|
MPI_SCOPE=Patient/*.read,Patient/*.write
|
||||||
|
|
||||||
|
|||||||
@ -140,8 +140,8 @@ docker compose ps
|
|||||||
# CapabilityStatement FHIR a través de nginx
|
# CapabilityStatement FHIR a través de nginx
|
||||||
curl http://localhost/fhir/metadata
|
curl http://localhost/fhir/metadata
|
||||||
|
|
||||||
# Health check del Bus Gateway a través de nginx
|
# Verificación de llegada al Bus mediante la consulta de un paciente.
|
||||||
curl http://localhost/fhir/Patient?_summary=count
|
curl --location 'http://localhost/fhir/Patient?identifier=http%3A%2F%2Fwww.renaper.gob.ar%2Fdni%7C30945027'
|
||||||
|
|
||||||
# Logs de un servicio específico
|
# Logs de un servicio específico
|
||||||
docker compose logs -f bus-gateway
|
docker compose logs -f bus-gateway
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user