From 10323adbe494a7094fcb76d7a6d88dd4028e57aa Mon Sep 17 00:00:00 2001 From: "Bruno P. Kinoshita" Date: Fri, 12 Mar 2021 08:10:47 +1300 Subject: [PATCH] Add sentence explaining the --net=host and port 80 use --- dockerfiles/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dockerfiles/README.md b/dockerfiles/README.md index b09a1705d..8d0e0ed5f 100644 --- a/dockerfiles/README.md +++ b/dockerfiles/README.md @@ -4,7 +4,11 @@ Dockerfiles for Skosmos. The following commands will build and tag the image it with `skosmos:test`, and run the container. The container name is `skosmos-web`, but you can customize -the name, port, and other flags as necessary. +the name, and other flags as necessary. The container will listen to port +`80` at both the host and container since we are using `--net=host` to allow the +Skosmos application to access Fuseki at `http://localhost:3030`. You are free to +modify the command line and the `Dockerfile.ubuntu` and configuration files if you +would like to deploy it differently. # NOTE: the container copies the project sources during build, so the # context must be the parent directory, i.e. you MUST build the image