Skip to content

Commit

Permalink
Update prefect api path
Browse files Browse the repository at this point in the history
  • Loading branch information
bhnum committed Aug 13, 2023
1 parent c103f38 commit fbf263d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion training/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ COPY . .

# RUN prefect config set PREFECT_API_DATABASE_MIGRATE_ON_START="True"
RUN prefect config set PREFECT_API_DATABASE_CONNECTION_URL="postgresql+asyncpg://postgres:yHwt6Mjo7dESruva5B4W0u8G0JBossTk@prefect-db:5432/prefect"
RUN prefect config set PREFECT_API_URL=http://127.0.0.1:4200/api
RUN prefect config set PREFECT_API_URL=https://threat-prefect.darkube.app/api
ENV MLFLOW_TRACKING_URI=http://mlflow:5000
CMD ["sh","-c","prefect server start --host 0.0.0.0 & sleep 5 && prefect deployment apply train-deployment.yaml & sleep 5 && prefect agent start -q 'default'"]

0 comments on commit fbf263d

Please sign in to comment.