https://prefect.io logo
Title
a

Azuma

05/19/2020, 4:07 PM
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

Alex Cano

05/19/2020, 4:11 PM
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

Azuma

05/19/2020, 6:18 PM
Well, i try but it did not bring success =(
b

Brad

05/20/2020, 4:34 AM
I’m also having this issue - is there some way to check the config we start the server with ?
a

Azuma

05/20/2020, 9:02 AM
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

Brad

05/25/2020, 12:31 AM
maybe @Chris White or @josh could shed some light on this?
c

Chris White

05/25/2020, 5:12 PM
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