The FRAX® tool has been developed to evaluate fracture risk.
2.2K
This is the docker image of the FRAXplus® application available at https://fraxplus.org.
In order to run it, you'll need a valid licence.
Once Docker Desktop is running on your computer, open a command line and type this:
docker run -d -p 8085:8085 -v fraxplus:/app/data --name fraxplus fraxplus/calculator
That's it, the FRAX plus® calculator is now running locally on your computer.
The application is now reachable at http://localhost:8085
In order to activate the Docker version, you will need an active subscription.
http://localhost:8085).Activate online button.http://localhost:8085) where you can see that your product has been activatedIf you are denied to browse to fraxplus.org while activating your product, you can activate it manually with another device.
http://localhost:8085).Request code.licence activation code.http://localhost:8085), enter your licence activation code and click the Activate manually button.licence request code:docker exec fraxplus node calculator.js --licence-status
licence activation code.docker exec fraxplus node calculator.js --licence-activate <activation code>
docker stop fraxplus
docker rm fraxplus
If you need to see the status of your licence or apply a new one to your running container:
/licence page (by default: http://localhost:8085/licence).Update licence button.Alternatively, you can run again the Activate licence through CLI procedure.
We strongly advise you to enforce TLS with an external proxy and your own certificates before going to production.
| Name | Description |
|---|---|
FRAX_CALCULATOR_ALLOW_FRONTEND | Default: true. Set false to disable the web application's front-end. The application will only be reachable through the REST API. |
FRAX_CALCULATOR_CLIENT_API_KEY | If provided, you can allow external clients to consume your instance's REST API. |
This application can be used by both
http://localhost:8085http://localhost:8085/api-docsTo gain access to the API, clients must provide an API key that you should define when running the container.
Set FRAX_CALCULATOR_CLIENT_API_KEY to the key your clients should provide:
docker run \
--detach \
--publish 8085:8085 \
--volume fraxplus:/app/data \
--name fraxplus \
--env FRAX_CALCULATOR_CLIENT_API_KEY=unicornsAreReal \
fraxplus/calculator
Please replace the API_KEY with a new one
Clients will have to provide the key as an HTTP header x-api-key:
curl -X 'GET' \
'http://localhost:8085/api/v1/licence' \
-H 'accept: application/json' \
-H 'x-api-key: dev'
docker pull fraxplus/calculator
docker stop fraxplus
docker rm fraxplus
Content type
Image
Digest
sha256:a838198dc…
Size
82.1 MB
Last updated
3 months ago
docker pull fraxplus/calculator