Go to file
Sambo Chea c7aa6016ce Updated readme and change run mode 2021-03-06 21:35:25 +07:00
fonts Initialized the highcharts export server docker 2021-03-06 20:51:42 +07:00
scripts Updated readme and change run mode 2021-03-06 21:35:25 +07:00
.gitignore Initialized the highcharts export server docker 2021-03-06 20:51:42 +07:00
Dockerfile Add run script and changed docker node image to 14.16.0-alpine3.13 and fixed 2021-03-06 21:33:26 +07:00
README.md Initialized the highcharts export server docker 2021-03-06 20:51:42 +07:00

Highcharts Export Server in Docker

Building

docker build -t cubetiq/highcharts-export-server . 

Running

docker run -d --name highcharts-export-server -p 8080:8080 cubetiq/highcharts-export-server

The application will run at port 8080 with exposed host port (the left one).

Testing

Try to test export charts data with export server that we running above.

curl -H "Content-Type: application/json" -X POST -d '{"infile":{"title": {"text": "Income"}, "xAxis": {"categories": ["01-03-2021", "02-03-2021", "03-03-2021"]}, "series": [{"data": [100.00,250.50,500.00]}]}}' http://yourhost.tld:8080 -o exported.png