https://prefect.io logo
Title
p

Pedro Machado

12/21/2020, 12:06 AM
Hi there. I was under the impression that I the
prefect server stop
command had been added. I lost the connection to the server. Is there a graceful way to stop it once it's running? If I wanted to use the docker compose file directly to run server, what is the easiest way to set all the variables that are needed in this file?
z

Zanie

12/21/2020, 6:05 PM
There is an open issue for stopping the server at https://github.com/PrefectHQ/prefect/issues/3660
I wouldn’t recommend using docker compose directly, we set a lot of environment variables. You could take a look at
prefect.cli.server.make_env
though