Skip to content

Commit

Permalink
Add prefect-server docker command to the base compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogsilva committed Aug 21, 2024
1 parent 204c629 commit 729f03c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion docker/compose.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ services:
target: /martin-config.yaml

prefect-server:
command: ["prefect", "server", "start"]
environment:
PREFECT_API_DATABASE_CONNECTION_URL: "postgresql+asyncpg://prefect:prefectpassword@prefect-db/prefect"
PREFECT_API_URL: "http://0.0.0.0:4200/api"
Expand Down
1 change: 1 addition & 0 deletions docker/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ services:

prefect-server:
image: *prefect-image
command: ["prefect", "server", "start"]
labels:
- "traefik.enable=true"
- "traefik.http.routers.prefect-router.rule=PathPrefix(`/prefect`)"
Expand Down

0 comments on commit 729f03c

Please sign in to comment.