An image to run a Highcharts export server. It uses node-export-server to run the server.
- Docker 19.03.8+
To run the server simply run
docker run --rm \
-v highcharts-cache:/cache \
--cap-add=SYS_ADMIN \
-p 7801:7801 \
ghcr.io/interactive-studios/dockerized-highcharts-export-server
And you can connect to localhost:7801
to generate any charts.
You can verify if the server works correctly by executing:
curl \
-H "Content-Type: application/json" \
-X POST \
-d '{"infile":{"title": {"text": "Steep Chart"}, "xAxis": {"categories": ["Jan", "Feb", "Mar"]}, "series": [{"data": [29.9, 71.5, 106.4]}]}}' \
localhost:7801 \
-o mychart.png
This creates an mychart.png
image. If you open the image, it should show a graph.
When running this image, you're automatically accepting the license terms of Highcharts.js.