Custom docker image to run OpenRefine v3.4.1. This configuration includes the following:
Dockerfile: build imagedocker-openrefine:1.0(Needs access to DockerHub and https://github.com/OpenRefine/OpenRefine/releases/download)docker-compose.yml: start, stop and easy configuration for docker imagedocker-openrefine:1.0or-configuration: folder with OpenRefine default configuration and the following extensions (see below for details):- RDF Extension
- NER Extension
- Workspace File Extension
- Build the container:
docker build . -t docker-openrefine:1.0 - Run the container:
docker run --network host docker-openrefine:1.0- You can define a volume to persist the OpenRefine Workspace with:
docker run --network host -v /home/USER/docker-openrefine/data:/or/data docker-openrefine:1.0
- You can define a volume to persist the OpenRefine Workspace with:
- Open http://127.0.0.1:3333 in your browser
- Stop the container with
ctrl + cin the terminal that is runningdocker run...
During the docker build ... command you can set the following arguments to disable any menus from the Create Project page. By default, all options are enabled.
- This Computer:
docker build --build-arg THIS_COMPUTER=false - Web Addresses (URLs):
docker build --build-arg WEB_ADDRESSES=false - Clipboard:
docker build --build-arg CLIPBOARD=false - Database:
docker build --build-arg DATABASE=false - Workspace Data:
docker build --build-arg WORKSPACE=false - Google Data:
docker build --build-arg GOOGLE=false
Example command to disable the Clipboard and the Workspace Data options
docker build --build-arg CLIPBOARD=false --build-arg WORKSPACE=false . -t docker-openrefine:1.0
- Build the container:
docker build . -t docker-openrefine:1.0 - Start the container:
docker-compose up -d - Open http://127.0.0.1:3333 in your browser
- Stop the container:
docker-compose stop
Note: additional configuration can be added/updated in docker-compose.yml
- Update values in
refine.inifor variablesREFINE_MEMORYandREFINE_MIN_MEMORY - Re-create the container
docker build . -t docker-openrefine:1.0
- Compilation date: 2021-01-29
- Compiled by: RefinePro
- Version 1.3.1 - non-official including PR #58 Remove absolute URL for
command/core/load-languagerequest
When new development are made on the public repository:
- Pull the changes and resolve potential conflicts introduced by the new version.
- Compile and update the docker image with the compiled files in
or-configuration/extensions/rdf-extension - Update README.md with new version details
- Compilation date: 2021-01-24
- Compiled by: stkenny
- Version 1.6.1
When new development are made on the public repository:
- Pull the changes and resolve potential conflicts introduced by the new version.
- Compile and update the docker image with the compiled files in
or-configuration/extensions/ner - Update README.md with new version details
- Compilation date: 2021-01-04
- Compiled by: RefinePro
- Version 1.0.1
When new development are made on the public repository:
- Pull the changes and resolve potential conflicts introduced by the new version.
- Compile and update the docker image with the compiled files in
or-configuration/extensions/local-file-system - Update README.md with new version details
Location to load the files is configured with the environment variable EXT_LOCAL_FILE_SYSTEM in the Dockerfile archive and will load all files from folder workspace-files
- If you are running OpenRefine with
docker run...adding/removing files in folderworkspace-filesrequires a new build withdocker build . -t docker-openrefine:1.0to see the updates in OpenRefine. - If you are running OpenRefine with
docker-composeadding/removing files in folderworkspace-fileswill be reflected immediately as soon you refresh the page to create new projects
- The seed Dockerfile came from https://github.com/opencultureconsulting/openrefine-docker/blob/master/3.3/Dockerfile