Allows Thor SPARQL client to work with Docker hosted Fuseki
- Docker hosted Fuseki running on port 3030
- Thor SPARQL client running on port 80
Enter host:8080 as your SPARQL endpoint in Thir (which will now proxied from Fuseki with the correct CORS headers)
docker build --no-cache . -t thor-cors-proxy
docker run -p 8080:8080 thor-cors-proxy
We use the -d
and --restart=always
flags to make it automatically restart.
Help (all run options explained):
docker run --rm fuseki --help