Skip to content

bencomp/brat-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http://brat.nlplab.org/

BRAT requires you to configure usernames and passwords. You can specify these as environment variables when you run the container.

You will also need to provide data and config files. The container assumes these will be writable by the group 'bratadmin'

On the host:

mkdir /bratconfig /bratdata
addgroup bratadmin
chgrp bratadmin /bratconfig 
chgrp bratadmin /bratdata
chmod g+s /bratconfig
chmod g+s /bratdata
chmod g+rwx /bratconfig
chmod g+rwx /bratdata

Then run something like:

docker run -d -p 80:80 -v /directory/on/host:/bratconfig -v/directory/on/host:/bratdata -e BRAT_USERNAME=brat -e BRAT_PASSWORD=brat -e BRAT_EMAIL=brat@example.com  bencomp/brat:1.3 

About

containerised brat (http://brat.nlplab.org/)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%