Corregido error en nombre de variable de entorno en contenendor de GDHCN
This commit is contained in:
parent
80d78992a7
commit
1a8192567d
47
.env.backup
Normal file
47
.env.backup
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
# URL base del nodo (usada por bus-gateway internamente)
|
||||||
|
NODO_URL_BASE=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_URL=https://bus-test.msal.gob.ar
|
||||||
|
BUS_JWT_SECRET=k3DD9PY3zKa99DDZ9MWQB7x7bk8KlJiMSnnfAgPbIkB5p
|
||||||
|
BUS_ISSUER=https://agomez.pythonanywhere.com/hsi
|
||||||
|
|
||||||
|
# Servicios del Bus (opcionales, por defecto usan BUS_URL)
|
||||||
|
MPI_URL=https://bus-test.msal.gob.ar/masterfile-federacion-service/fhir/Patient
|
||||||
|
|
||||||
|
DOCUMENT_REGISTRY_URL=https://bus-test.msal.gob.ar/fhir/DocumentReference
|
||||||
|
|
||||||
|
# Scopes por servicio
|
||||||
|
MPI_SCOPE=Patient/*.read,Patient/*.write
|
||||||
|
DOCUMENT_REGISTRY_SCOPE=DocumentReference/*.read,DocumentReference/*.write
|
||||||
|
|
||||||
|
|
||||||
|
# Habilita logs de requests/responses salientes al Bus (true | false)
|
||||||
|
BUS_DEBUG=true
|
||||||
|
|
||||||
|
|
||||||
|
SPRING_CONFIG_LOCATION="file:///data/hapi/application.yaml"
|
||||||
|
SPRING_DATASOURCE_URL="jdbc:postgresql://hapi-db:5433/root"
|
||||||
|
SPRING_DATASOURCE_USERNAME="root"
|
||||||
|
SPRING_DATASOURCE_PASSWORD="hapifhir2023"
|
||||||
|
SPRING_DATASOURCE_DRIVERCLASSNAME="org.postgresql.Driver"
|
||||||
|
SPRING_JPA_PROPERTIES_HIBERNATE_DIALECT="ca.uhn.fhir.jpa.model.dialect.HapiFhirPostgres94Dialect"
|
||||||
|
|
||||||
|
POSTGRES_DB="root"
|
||||||
|
POSTGRES_USER="root"
|
||||||
|
POSTGRES_PASSWORD="hapifhir2023"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -57,7 +57,7 @@ services:
|
|||||||
- TNG_DSC_PRIVATEKEY=/run/secrets/signature-key
|
- TNG_DSC_PRIVATEKEY=/run/secrets/signature-key
|
||||||
- TNG_COUNTRY=AR
|
- TNG_COUNTRY=AR
|
||||||
- TNG_DSC_PRIVATEKEY_KID=I1BAX8FATLs=
|
- TNG_DSC_PRIVATEKEY_KID=I1BAX8FATLs=
|
||||||
- GDHCN_BASEURL=${NODO_BASE_URL:-http://localhost}/gdhcn
|
- GDHCN_BASEURL=${NODO_URL_BASE:-http://localhost}/gdhcn
|
||||||
networks:
|
networks:
|
||||||
- hapi-network
|
- hapi-network
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user