[ 
https://issues.apache.org/jira/browse/NUTCH-2883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17371357#comment-17371357
 ] 

ASF GitHub Bot commented on NUTCH-2883:
---------------------------------------

lewismc commented on pull request #691:
URL: https://github.com/apache/nutch/pull/691#issuecomment-869830352


   Something I would like feedback on is whether we want to run `startserver` 
and/or `webapp` by default? That is the behaviour implemented in this PR.
   
   I haven't found a way to make this conditional i.e. if we were to build the 
image as follows 
   ```bash
   docker build -t apache/nutch . --build-arg startserver=true --build-arg 
webapp=true
   ```
   Then we would expose the ports (these could also be configurable) by 
implementing `--build-arg server_port=XXXX --build-arg webapp_port=XXXX` and 
also activate the `ENTRYPOINT` for `supervisord`.
   
   Also, it's important for me to mention that I am aware of the 
one-service-one-container rule. The reason I chose to try supervisord in this 
case was that these services are entirely complimentary... I didn't see the 
reason to complicate things further by using `docker-compose`.


-- 
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-unsubscr...@nutch.apache.org

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


> Provide means to run server and webapp as persistent services 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.3.4#803005)

Reply via email to