Hello everyone! Please tell me if the server start...
# prefect-community
a
Hello everyone! Please tell me if the server starts as follows: 1) prefect backend server 2) prefect server start Where does config.toml come from if I need to change the endpoint in it? 1) ~ / .prefect / config.toml 2) prefect / src / prefect / config.toml 3) prefect / server / src / prefect_server / config.toml? I fluently tried all 3 options, but it did not bring success = (
👀 1
👍 1
a
You should be able to put the configuration in:
~/.prefect_server/config.toml
, or set the environment variable
PREFECT_SERVER__USER____CONFIG_PATH
to a different location and put it there!
a
Well, i try but it did not bring success =(
b
I’m also having this issue - is there some way to check the config we start the server with ?
a
after several experiments, I found that the data was taken from ~ / .prefect / backend.toml But unfortunately it is not yet clear what the structure of this file should be for setting a valid endpoint
b
maybe @Chris White or @josh could shed some light on this?
c
I’ll need more info to help but here’s what I can say: - your user config by default lives in
~/.prefect/config.toml
- to change the location you can set
PREFECT__USER_CONFIG_PATH
to the absolute path of your config location - this is the structure, along with defaults: https://github.com/PrefectHQ/prefect/blob/master/src/prefect/config.toml