https://github.com/emilrex/multi-container-demo
https://github.com/emilrex/multi-container-demo
docker prefect
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/emilrex/multi-container-demo
- Owner: EmilRex
- Created: 2023-03-30T14:19:09.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-30T17:03:17.000Z (about 3 years ago)
- Last Synced: 2025-10-25T21:45:17.664Z (8 months ago)
- Topics: docker, prefect
- Language: Python
- Homepage: https://www.prefect.io/
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Multi Container Demo
This repo demonstrates how to run flows in different containers using a single parent flow. This pattern is useful when a single flow needs different versions of dependencies.
## Getting Started
The demo assumes you have Docker installed and running.
```bash
# Install Prefect and login to Cloud if you haven't already
pip install -U prefect
prefect cloud login
# Clone this repository
git clone git@github.com:EmilRex/multi-container-demo.git
cd multi-container-demo
# Create the storage block and deployments
python deploy.py
# Run the parent flow and start an agent to execute
prefect deployment run parent/main-2-latest
prefect agent start -q multi-container-demo
```