Public | Automated Build

Last pushed: 7 months ago
Short Description
Storyfinder webserver
Full Description

Requirements

Storyfinder requires a mysql database, the GermaNER server for named entity recognition and Stanford CoreNLP.

MySQL Container

Create a new MySQL 5.5 container:
`docker run --name storyfinder-mysql -e MYSQL_RANDOM_ROOT_PASSWORD=yes -e MYSQL_DATABASE=storyfinder -e MYSQL_USER=storyfinder -e MYSQL_PASSWORD=storyfinder -d mysql:5.5.51

CoreNLP

Create a new CoreNLP container
docker run --name storyfinder-corenlp -d kisad/corenlp-german

Create a new GermaNER container

docker run -d -m 4g --name storyfinder-germaner kisad/storyfinder-germaner

Startup of the container will take a few minutes. You can check the status in the container log.

Notice: GermaNER requires at least 4g memory. If you are using Kitematic/Docker Toolbox make sure your VM has enough memory (default is 2g). See: http://stackoverflow.com/questions/32834082/how-to-increase-docker-machine-memory-mac

Usage

docker run -d --name storyfinder-server --link storyfinder-mysql:mysql --link storyfinder-germaner:germaner --link storyfinder-corenlp:corenlp -p 3055:3055 -e "COOKIE_SECRET=YOUR_COOKIE_SECRET" -e "MYSQL_PORT=3306" kisad/storyfinder-webserver

Visit http://docker_host_ip:3055 in your webbrowser.

Configuration

Use the following environment variables for configuration. Defaults should work with linked containers:

  • COOKIE_SECRET: Secret for cookies.
  • MYSQL_HOST: Host of mysql database. Defaults to mysql.
  • MYSQL_PORT: Port of mysql database. Defaults to 3306.
  • MYSQL_DATABASE: Name of mysql database: Defaults to storyfinder.
  • MYSQL_USER: User of mysql databese. Defaults to storyfinder.
  • MYSQL_PASSWORD: Password of mysql database. Defaults to storyfinder.
Docker Pull Command
Owner
kisad
Source Repository

Comments (0)