Replies: 2 comments
-
Run docker in dev mode.. where unicorn will monitor changes in file ie. my setup: services:
pipelines:
hostname: pipelines
image: ghcr.io/open-webui/pipelines:main
container_name: pipelines
ports:
- 9099:9099
entrypoint:
[
"uvicorn",
"main:app",
"--port",
"9099",
"--host",
"0.0.0.0",
"--forwarded-allow-ips",
"*",
"--reload",
]
environment:
- PYTHONDONTWRITEBYTECODE=1
[...]
|
Beta Was this translation helpful? Give feedback.
0 replies
-
curl -XPOST -H 'Authorization: Bearer 0p3n-w3bu!' -H "Content-type: application/json" 'http://0.0.0.0:9099/pipelines/reload' |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When developing a pipeline stored in the
pipelines
dir, I often restart the pipeline Docker. Is it possible to watch for changes in thepipelines
dir and automatically restart the pipeline Docker?Beta Was this translation helpful? Give feedback.
All reactions