Adam
10/12/2022, 8:27 PMKalise Richmond
10/13/2022, 6:10 PMAdam
10/13/2022, 8:14 PMversion: "3.9"
services:
orion:
container_name: orion
image: prefecthq/prefect:2.4.5-python3.10
ports:
- 4200:4200
restart: unless-stopped
volumes:
- prefect-orion-data:/.prefect
environment:
PREFECT_ORION_API_HOST: 127.0.0.1
PREFECT_ORION_API_PORT: 4200
PREFECT_ORION_UI_API_URL: <http://x.x.x.x/api>
command: prefect orion start --host 0.0.0.0 --port 4200
volumes:
prefect-orion-data:
external: true
Mason Menges
10/13/2022, 8:31 PMPREFECT_HOME='~/.prefect'
by default this is where it's going to create the sqlitedb since the home directory is used when setting this path variable PREFECT_ORION_DATABASE_CONNECTION_URL='sqlite+aiosqlite:///${PREFECT_HOME}/orion.db' (from defaults)
Adam
10/14/2022, 3:38 PM