Matt Segal
06/08/2020, 4:49 AMprefect server
CLI does not seem to support a daemonized mode. Is there some standard way to use the docker-compose config to run the core server using something like Docker Swarm?Matt Segal
06/08/2020, 4:52 AMMatt Segal
06/08/2020, 4:53 AMMatt Segal
06/08/2020, 4:54 AMMatt Segal
06/08/2020, 4:56 AMnicholas
nohup
. So when starting Prefect Server it would be:
nohup prefect server start >/dev/null 2>$1 &
nicholas
>/dev/null 2>$1
will prevent the quite noisy output from writing to a nohup
file and the &
on the end will detach the process from the terminal)Matt Segal
06/08/2020, 8:02 AMdocker-compose up
will restart a container if it crashes though.
I get the impression that the Prefect Core server is really just for playing around on your local machine, rather than something that you would run in anger in a prod environment.
For example, if I were to use this for my "production" workflows I would want to be able to see server logs, which are currently all written to stdout.Matt Segal
06/08/2020, 8:18 AM