Designed to used with:
- The
harvardlts/fitsservlet_container
container and docker-compose service - The Drupal 8 site
Based on:
Contains and includes:
To run the container, you'll need to bind mount one thing:
- A
php.ini
file with output buffering enabled at/usr/local/etc/php/php.ini
You'll also want to set one environment variable, which affects configuration of the microservice
- FITS_WEBSERVICE_URI - URI pointing to your
fitsservlet_container
instance
docker run -d -p 8000:8000 -e FITS_WEBSERVICE_URI=http://localhost:8080/fits/examine -v /path/to/php.ini:/usr/local/etc/php/php.ini isle-crayfits
To test Crayfits, you can issue a curl command against it to verify its endpoint is working. For example, to run FITS on the Islandora logo:
- curl -H "Authorization: Bearer islandora" -H "Apix-Ldp-Resource: https://islandora.ca/sites/default/files/Islandora.png" idcp.localhost:8000