ips-nodo-dominio/.env.example
2026-04-27 04:25:52 +00:00

33 lines
1.2 KiB
Plaintext

# 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=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
# Habilita logs de requests/responses salientes al Bus (true | false)
BUS_DEBUG=false
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"