You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/08/21 10:16:00 UTC
[jira] [Commented] (NUTCH-2883) Provide means to run server as a persistent service in Docker container
[ https://issues.apache.org/jira/browse/NUTCH-2883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17582522#comment-17582522 ]
ASF GitHub Bot commented on NUTCH-2883:
---------------------------------------
sebastian-nagel opened a new pull request, #748:
URL: https://github.com/apache/nutch/pull/748
This PR includes everything from #691 rebased to the recent master and sqashed into a single commit. It also includes
- a fix to make the arg instructions (eg. `--build-arg BUILD_MODE=1`) working, see [comment in #691](https://github.com/apache/nutch/pull/691#issuecomment-925304439)
- installation of the WebApp from the separate repository and running it via `mvn jetty:run -Djetty.port=<WEBAPP_PORT>`
So far, I've successfully tested this PR
- using all BUILD_MODEs: 0 (default if not set), 1 and 2
- running the resulting images as containers
- for build mode 0: run some Nutch commands
- for build mode 2 (server + webapp): configure run a small crawl
- for build mode 1 (server): run external webapp to configure and run a crawl
- crawls where successful with some work-arounds required (NUTCH-2965 and NUTCH-2966) and not testing indexing into Solr (NUTCH-2964)
> Provide means to run server as a persistent service in Docker container
> -----------------------------------------------------------------------
>
> Key: NUTCH-2883
> URL: https://issues.apache.org/jira/browse/NUTCH-2883
> Project: Nutch
> Issue Type: Improvement
> Components: docker, nutch server, web gui
> Affects Versions: 1.18
> Reporter: Lewis John McGibbney
> Assignee: Lewis John McGibbney
> Priority: Major
> Fix For: 1.19
>
>
> Some conditional logic and some Docker build arguments would allow a user to run the nutch server alone or both the nutch server and webapp as long running services.
> This could be useful for users who want to remotely interact with Nutch via REST where jobs may actually be executed on yet another remote deployment.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)