Agregada la variable de entorno NODO_BASE_URL al stack del nodo
This commit is contained in:
parent
f128b6b52f
commit
e1b461f6a2
@ -1,10 +1,11 @@
|
||||
NODE_BASE_URL=http://localhost
|
||||
# Configuración del contenedor de NGINX (ajusta según tus necesidades, por ejemplo, para SSL)
|
||||
NGINX_CONF=http
|
||||
# NGINX_CONF=http
|
||||
# SSL_CERT_PATH=./certs/server.crt
|
||||
# SSL_KEY_PATH=./certs/server.key
|
||||
|
||||
# Bus FHIR (base, usado como fallback si no se definen MPI_URL o DOCUMENT_REGISTRY_URL)
|
||||
# Bus FHIR (base, usado como fallback si 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
|
||||
|
||||
@ -56,7 +56,7 @@ services:
|
||||
- TNG_DSC_PRIVATEKEY=/run/secrets/dsc-key
|
||||
- TNG_COUNTRY=XJ
|
||||
- TNG_DSC_PRIVATEKEY_KID=I1BAX8FATLs=
|
||||
- GDHCN_BASEURL=${NODO_BASE_URL}/gdhcn
|
||||
- GDHCN_BASEURL=${NODO_BASE_URL:-http://localhost}/gdhcn
|
||||
networks:
|
||||
- hapi-network
|
||||
volumes:
|
||||
@ -79,6 +79,7 @@ services:
|
||||
context: ./bus-gateway
|
||||
environment:
|
||||
TZ: ${TZ:-America/Argentina/Buenos_Aires}
|
||||
NODO_URL_BASE: ${NODO_URL_BASE:-http://localhost}
|
||||
BUS_URL: ${BUS_URL}
|
||||
BUS_JWT_SECRET: ${BUS_JWT_SECRET}
|
||||
BUS_ISSUER: ${BUS_ISSUER}
|
||||
@ -132,4 +133,3 @@ secrets:
|
||||
file: ${SIGNATURE_KEY_PATH:-./certs/signature.key}
|
||||
dsc-key:
|
||||
file: ${SSL_DCC_KEY_PATH:-./certs/dcc.key}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user