@Marvin Can I mount a volume to a Docker container deployment instead of having the volume configuration on worker level?
m
Marvin
01/16/2025, 12:23 PM
It seems that mounting a volume directly to a Docker container deployment in Prefect is not explicitly documented. Typically, volume configurations are managed at the worker level. However, you might be able to achieve this by customizing your Dockerfile or using environment variables in your
prefect.yaml
file to manage deployment configurations.
For more detailed guidance, you can explore the following resources:
- Serving flows in a Docker container
- Infrastructure concepts with prefect.yaml
If you have a specific use case or configuration in mind, feel free to share more details, and I'll do my best to assist you further.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.