You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by GitBox <gi...@apache.org> on 2021/07/01 05:56:24 UTC

[GitHub] [nutch] lewismc edited a comment on pull request #691: NUTCH-2883 Provide means to run server and webapp as persistent services in Docker container

lewismc edited a comment on pull request #691:
URL: https://github.com/apache/nutch/pull/691#issuecomment-871943637


   OK this PR is ready for full review. I've added in the conditional logic as explained in the README. 
   There are three build **modes** which can be activated using the `--build-arg MODE=0` flag. All values used here are defaults.
    * 0 == Nutch master branch source install with `crawl` and `nutch` scripts on `$PATH`
    * 1 == Same as mode 0 with addition of **Nutch REST Server**; additional build args `--build-arg SERVER_PORT=8081` and `--build-arg SERVER_HOST=0.0.0.0`
    * 2 == Same as mode 1 with addition of **Nutch WebApp**; additional build args `--build-arg WEBAPP_PORT=8080`
   
   I augmented a the documentation so the above is clear. I also showed how we can browse container logs for server and webapp if they are running.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@nutch.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org