-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
💻 M1 compatibility and generalized CLI #99
Conversation
…s from Docker Hub
I have discovered I got rid of all the initializing scripts that were building the Docker containers. Using the individual images for the pipelines works nicely on all operating systems. The last problem now is the dockerized CLI. Once the CLI is dockerized, we have a "Docker in Docker" scenario. In that case, the mounted volumes don't seem to work across two containers. E.g., if I mount the I had a look at Airflow but didn't see a way to get it integrated in a good way with the current CLI flow. Any help would be appreciated! |
Here are a few more details from the user perspective of what we are trying to achieve. User storyAs a user, I want a CLI to select all the pipelines I'd like to run. I can choose the geographical region for which I want to run the pipelines. In the case of the population data, I also want to select specific demographic groups I am interested in. Current statusWe have a Python script for the CLI that collects all the necessary user inputs and executes all components (data pipelines, database importer, database, Jupyter) as Docker images. It works perfectly if it is executed as a local Pythons script. However, we need to dockerize the CLI to run independently from the local user setup as long as Docker has been set up. |
We are going to merge this PR and open a new issue for the Dockerization as this PR contains fixes for M1 compatibility issues and uses pre-built Docker images which simplifies a local Python setup for the CLI. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed setup readme file to postgresql and newest version of pip needed
Since we experienced several system-related issues across platforms due to the pure Python approach, we try to dockerize the CLI after all.
We've realized several compatibility issues exist for Docker containers on M1-based Macs. We have fixed those and switched to pulling pre-built images from our Docker Hub in the
docker-compose.yml
.Closes #62