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?nicholas
06/08/2020, 5:39 AMnohup
. So when starting Prefect Server it would be:
nohup prefect server start >/dev/null 2>$1 &
>/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.