https://prefect.io logo
u

usheik

08/30/2023, 12:24 PM
Hey guys, I work at Careem (ex Uber owned company) and have been using Prefect for our DWH & DS pipelines. I was previously running
prefect:2.7.3-python3.11
with the following config on a VM:
Copy code
### Prefect Orion API
  orion:
    image: prefecthq/prefect:2.7.3-python3.11
    restart: always
    volumes:
      - prefect:/root/.prefect
    entrypoint: ["prefect", "orion", "start", "--host", "0.0.0.0"]
    environment:
      - PREFECT_ORION_API_HOST=EXTERNAL_IP
      - PREFECT_ORION_DATABASE_CONNECTION_URL=CONNECTION_STR
    ports:
      - 4200:4200
    depends_on:
      - database
    profiles: ["orion"]
Which worked perfectly I've attempted to update to a newer version
prefecthq/prefect:2.11.5-python3.11
- unfortunately it doesn't seem to be panning out • Replaced
PREFECT_ORION_API_HOST
with
PREFECT_SERVER_API_HOST
• Replaced
PREFECT_ORION_DATABASE_CONNECTION_URL
with
PREFECT_API_DATABASE_CONNECTION_URL
• Replaced
entrypoint: ["prefect", "orion", "start", "--host", "0.0.0.0"]
with
entrypoint: ["prefect", "server", "start", "--host", "0.0.0.0"]
Unfortunately I am unable to access the UI any longer - can anyone save me?
Nuked volumes, the DB and everything prefect related - managed to get it back up and running. Cheers