merlin
12/03/2022, 6:51 AMprefect profile create 'personal'
prefect config set \
PREFECT_ORION_DATABASE_CONNECTION_URL='sqlite+aiosqlite:///${PREFECT_HOME}/orion_personal.db'
prefect config set PREFECT_ORION_API_PORT='4202'
prefect config set PREFECT_API_URL='<http://127.0.0.1:4202/api>'
Then when I start orion service the new db appears and the UI is available:
prefect orion start
# Check out the dashboard at <http://127.0.0.1:4202>
ls -1 ~/.prefect
orion.db
orion_lou.db
profiles.toml
storage
So I have two UI and orion db running simultaneously. Maybe there are other configs to set in order to complete this idea?Rob Freedy
12/05/2022, 3:31 PMmerlin
12/05/2022, 5:18 PMPREFECT_API_URL='<http://127.0.0.1>:<something else>/api
, but that didn't work. So the port definition + PREFECT_ORION_DATABASE_CONNECTION_URL was necessary.