-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Rene Pietzsch
committed
Sep 27, 2015
1 parent
f6686c1
commit 5d642d8
Showing
2 changed files
with
46 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,29 @@ | ||
# Build and runtime container for FOX | ||
|
||
- todo: inclomplete, add test and run/start/stop targets to the Makefile | ||
- see Makefile for build instructions ``make build`` | ||
- fox project: http://aksw.org/Projects/FOX.html | ||
- fox githup repo: https://github.com/AKSW/fox | ||
- prebuilt container: https://hub.docker.com/r/rpietzsch/fox-docker/ | ||
|
||
- http://aksw.org/Projects/FOX.html | ||
## make targets | ||
|
||
$ make | ||
Available targets | ||
|
||
build Build a fox docker container. | ||
tag Tags the image according to the docker hub naming. | ||
run Starts a container from the image. | ||
push Push built container to public docker registry hub.docker.com . | ||
help This help screen. | ||
|
||
## run a fox container | ||
|
||
docker run -d --name my_fox_container -p 4444:4444 rpietzsch/fox:latest | ||
|
||
To configure fox at runtime use the following environment variables, set them `-e <Variable>=<Value>[-e ...[]] | ||
|
||
- `XMX`: configures the jvm memory settings, default `8G` | ||
- `LNG`: sets the language to be trained, currently `en` `de` are supported, default `de` | ||
|
||
A sample of a fully run configuration looks like: | ||
|
||
docker run -d --name=my_fox_container -e XMX=7G -e LNG=en -p 8888:4444 rpietzsch/fox:latest |