Shahid Khan
01/13/2025, 6:38 AMNate
01/13/2025, 3:24 PMShahid Khan
01/14/2025, 5:45 AMRUN prefect work-pool create --type process alerts
and this creates the work-pool fine in my UI, but deploy seems to be not deploying.
My complete command in my Dockerfile is RUN prefect work-pool create --type process alerts && prefect --no-prompt deploy --all
More information on my docker-compose:
services:
db:
image: postgres:latest
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=yourTopSecretPassword
- POSTGRES_DB=prefect
ports:
- "5432:5432"
volumes:
- db:/var/lib/postgresql/data
prefect:
image: prefecthq/prefect:3-latest
command: prefect server start --host 0.0.0.0
environment:
- PREFECT_LOGGING_LEVEL=DEBUG
- PREFECT_API_DATABASE_CONNECTION_URL=<postgresql+asyncpg://postgres:yourTopSecretPassword@db:5432/prefect>
ports:
- "4200:4200"
depends_on:
- db
worker:
build:
context: .
dockerfile: Dockerfile
container_name: prefect_worker_alert
environment:
- PREFECT_API_URL=<http://prefect:4200/api>
- PREFECT_LOGGING_LEVEL=DEBUG
restart: unless-stopped
Shahid Khan
01/16/2025, 7:20 AMNate
01/16/2025, 4:00 PMdeploy seems to be not deployingthis isn't enough information, so feel free to open a discussion or issue with steps to reproduce this and what error you're seeing