Running hypnotoad under Docker would probably be considered a Docker 
anti-pattern, since a Linux container is just a single Linux process. In a 
Docker world you would run a Mojo::Server::Daemon (`myapp daemon`) and let 
some Docker-level scheduler manage the individual instances (e.g., 
Kubernetes, Mesos, etc.), managing the scaling and being responsible for 
starting more instances when they die—which is roughly the same area of 
concern as hypnotoad.

If you don't have access to a container orchestration system and must run 
hypnotoad in a container, look at Mojo::Server::Hypnotoad and 
set HYPNOTOAD_FOREGROUND as Dan recommended.

Scott

On Wednesday, August 2, 2017 at 2:55:29 PM UTC-6, Daniel Suen wrote:
>
> I would like to run hypnotoad programmatically under docker, I know the 
> command line has a -f switch but I don't see it for the 
> Mojo::Server::Hypnotoad. Does anyone know how to do this? Any help is 
> appreciated. Thanks.
>
> Daniel
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to